Skip to content

Commit

Permalink
Updated test strings on Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Sep 25, 2023
1 parent 057db61 commit e9c20d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/scripts/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ specs:
- python

script_env_variables:
CUSTOM_VARIABLE_1: FIR$T CUSTOM '\''STRING'\'' WITH SPACES AND @*#! "CHARACTERS" # [not win]
CUSTOM_VARIABLE_2: $ECOND CUSTOM '\''STRING'\'' WITH SPACES AND @*#! "CHARACTERS" # [not win]
CUSTOM_VARIABLE_1: FIR$T CUSTOM '\''STRING'\'' WITH SPACES AND @*! "CHARACTERS" # [not win]
CUSTOM_VARIABLE_2: $ECOND CUSTOM '\''STRING'\'' WITH SPACES AND @*! "CHARACTERS" # [not win]
CUSTOM_VARIABLE_1: FIR$T CUSTOM STRING WITH SPACES AND @*! CHARACTERS # [win]
CUSTOM_VARIABLE_2: $ECOND CUSTOM STRING WITH SPACES AND @*! CHARACTERS # [win]

Expand Down
4 changes: 2 additions & 2 deletions examples/scripts/post_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ echo "PREFIX=${PREFIX}"

test "${INSTALLER_NAME}" = "Scripts"
test "${INSTALLER_VER}" = "X"
test "${CUSTOM_VARIABLE_1}" = 'FIR$T CUSTOM '\''STRING'\'' WITH SPACES AND @*#! "CHARACTERS"'
test "${CUSTOM_VARIABLE_2}" = '$ECOND CUSTOM '\''STRING'\'' WITH SPACES AND @*#! "CHARACTERS"'
test "${CUSTOM_VARIABLE_1}" = 'FIR$T CUSTOM '\''STRING'\'' WITH SPACES AND @*! "CHARACTERS"'
test "${CUSTOM_VARIABLE_2}" = '$ECOND CUSTOM '\''STRING'\'' WITH SPACES AND @*! "CHARACTERS"'

if [[ $(uname -s) == Linux ]]; then
if [[ ${INSTALLER_PLAT} != linux-* ]]; then
Expand Down
4 changes: 2 additions & 2 deletions examples/scripts/pre_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ echo "PREFIX=${PREFIX}"

test "${INSTALLER_NAME}" = "Scripts"
test "${INSTALLER_VER}" = "X"
test "${CUSTOM_VARIABLE_1}" = 'FIR$T CUSTOM '\''STRING'\'' WITH SPACES AND @*#! "CHARACTERS"'
test "${CUSTOM_VARIABLE_2}" = '$ECOND CUSTOM '\''STRING'\'' WITH SPACES AND @*#! "CHARACTERS"'
test "${CUSTOM_VARIABLE_1}" = 'FIR$T CUSTOM '\''STRING'\'' WITH SPACES AND @*! "CHARACTERS"'
test "${CUSTOM_VARIABLE_2}" = '$ECOND CUSTOM '\''STRING'\'' WITH SPACES AND @*! "CHARACTERS"'

if [[ $(uname -s) == Linux ]]; then
if [[ ${INSTALLER_PLAT} != linux-* ]]; then
Expand Down

0 comments on commit e9c20d5

Please sign in to comment.