From 611663b6b81f4091cc2949085814033ed9e89b19 Mon Sep 17 00:00:00 2001 From: jlstevens Date: Mon, 25 Sep 2023 14:31:09 +0200 Subject: [PATCH] Updated scripts example with more challenging test (Unix) --- examples/scripts/construct.yaml | 4 ++-- examples/scripts/post_install.sh | 4 ++-- examples/scripts/pre_install.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/scripts/construct.yaml b/examples/scripts/construct.yaml index 231ab1109..4908198b2 100644 --- a/examples/scripts/construct.yaml +++ b/examples/scripts/construct.yaml @@ -7,8 +7,8 @@ specs: - python script_env_variables: - CUSTOM_VARIABLE_1: CUSTOM1 - CUSTOM_VARIABLE_2: CUSTOM2 + CUSTOM_VARIABLE_1: FIR$T CUSTOM STRING WITH SPACES AND @*#! "CHARACTERS" + CUSTOM_VARIABLE_2: $ECOND CUSTOM STRING WITH SPACES AND @*#! "CHARACTERS" pre_install: pre_install.sh # [unix] pre_install: pre_install.bat # [win] diff --git a/examples/scripts/post_install.sh b/examples/scripts/post_install.sh index 4e3d2b4d8..5f6e73786 100644 --- a/examples/scripts/post_install.sh +++ b/examples/scripts/post_install.sh @@ -15,8 +15,8 @@ echo "PREFIX=${PREFIX}" test "${INSTALLER_NAME}" = "Scripts" test "${INSTALLER_VER}" = "X" -test "${CUSTOM_VARIABLE_1}" = "CUSTOM1" -test "${CUSTOM_VARIABLE_2}" = "CUSTOM2" +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 diff --git a/examples/scripts/pre_install.sh b/examples/scripts/pre_install.sh index bde3f301a..f4d41ce13 100644 --- a/examples/scripts/pre_install.sh +++ b/examples/scripts/pre_install.sh @@ -12,8 +12,8 @@ echo "PREFIX=${PREFIX}" test "${INSTALLER_NAME}" = "Scripts" test "${INSTALLER_VER}" = "X" -test "${CUSTOM_VARIABLE_1}" = "CUSTOM1" -test "${CUSTOM_VARIABLE_2}" = "CUSTOM2" +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