diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-29 16:18:27 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-29 16:18:27 +0200 |
| commit | 6258542936e54074784cbc1bf910bd0503312d39 (patch) | |
| tree | 6ecc3e7eb21a53ee4ab393ade7fcc994c8105c20 /ci | |
| parent | ed67d51c2f30f4b343ad6676d1f9c38f994cf83f (diff) | |
Start compose: Shellcheck quote warning
Diffstat (limited to 'ci')
| -rwxr-xr-x | ci/startcompose.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
