From 282cdca1040c1209ba00a4d5d0d059fceeeb717b Mon Sep 17 00:00:00 2001 From: xzchaoo Date: Fri, 17 Feb 2023 12:14:06 +0800 Subject: [PATCH] chore: update deployment example scripts (#141) --- deploy/examples/docker-compose/down.sh | 2 +- deploy/examples/docker-compose/up.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"