From 6258542936e54074784cbc1bf910bd0503312d39 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 29 Mar 2022 16:18:27 +0200 Subject: Start compose: Shellcheck quote warning --- ci/startcompose.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/startcompose.sh b/ci/startcompose.sh index 54f0143..fa41949 100755 --- a/ci/startcompose.sh +++ b/ci/startcompose.sh @@ -10,6 +10,8 @@ if [[ -z "${PORTAL_PASS}" ]]; then exit 1 fi +# Get absolute path to current directory this script is in SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -docker-compose --file ci/docker/docker-compose.yml --project-directory $SCRIPT_DIR/.. up --build --force-recreate --abort-on-container-exit +# Get the parent directory to get the root directory +docker-compose --file ci/docker/docker-compose.yml --project-directory "$SCRIPT_DIR"/.. up --build --force-recreate --abort-on-container-exit -- cgit v1.2.3