From ba486fcee398bf43e67d1e25ea8ddea651368984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= Date: Mon, 27 Nov 2023 16:35:33 +0100 Subject: [PATCH] [BUGFIX] Remove invalid argment quuoting in `runTests.sh` (#1029) `Build/Scripts/runTests.sh` provides a test-suite `composer` and allows passing additional command and options directly down to the composer command. Due to an invalid quoting the passed options were broking and not regonized by the `composer` binary. This change removes the superflous argument passing and therefore allows passing additional options to the `composer` command. Resolves: #967 --- Build/Scripts/runTests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 8ea0c45..b115e0a 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -468,7 +468,7 @@ case ${TEST_SUITE} in cleanTestFiles ;; composer) - COMMAND="composer \"$@\"" + COMMAND="composer $@" ${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-command-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}" SUITE_EXIT_CODE=$? ;;