diff --git a/deploy/examples/docker-compose/down.sh b/deploy/examples/docker-compose/down.sh index f97e089a4..84844db55 100755 --- a/deploy/examples/docker-compose/down.sh +++ b/deploy/examples/docker-compose/down.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -script_dir=`dirname $0` +script_dir=`dirname $0 | xargs realpath` cd $script_dir env_file="$script_dir/.env" diff --git a/deploy/examples/docker-compose/up.sh b/deploy/examples/docker-compose/up.sh index 9bef3675d..2e50fb3e5 100755 --- a/deploy/examples/docker-compose/up.sh +++ b/deploy/examples/docker-compose/up.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -script_dir=`dirname $0` +script_dir=`dirname $0 | xargs realpath` cd $script_dir env_file="$script_dir/.env"