From 171db15e7cb8ba5a94383603bf99a96b15071451 Mon Sep 17 00:00:00 2001 From: Roy Lenferink Date: Sun, 7 Jan 2024 13:28:53 +0100 Subject: [PATCH] container: Fix variable globbing in run script This allows to execute chained commands. For example: ./run-ubuntu-container.sh "mkdir -p build && cd build && ../container/support-scripts/build-all.sh && make -j" --- container/run-ubuntu-container.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/container/run-ubuntu-container.sh b/container/run-ubuntu-container.sh index 2df3dadef..998b8c1cb 100755 --- a/container/run-ubuntu-container.sh +++ b/container/run-ubuntu-container.sh @@ -44,5 +44,4 @@ ${CONTAINER_ENGINE} run -it --rm --privileged \ --volume "${CELIX_REPO_ROOT}":"${CELIX_REPO_ROOT}" \ --workdir "${CELIX_REPO_ROOT}" \ --security-opt label=disable \ - apache/celix-dev:ubuntu-latest ${CONTAINER_COMMAND} - + apache/celix-dev:ubuntu-latest bash -c "${CONTAINER_COMMAND}"