diff --git a/deployment/create_lxc_base.sh b/deployment/create_lxc_base.sh index 549eb78..7490eb0 100755 --- a/deployment/create_lxc_base.sh +++ b/deployment/create_lxc_base.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -exu +set -eu cd "$(dirname "$0")" . ./base.sh diff --git a/deployment/down.sh b/deployment/down.sh index bf21aec..e18a326 100755 --- a/deployment/down.sh +++ b/deployment/down.sh @@ -2,7 +2,7 @@ # https://www.sovereign-stack.org/ss-down/ -set -exu +set -eu cd "$(dirname "$0")" if lxc remote get-default -q | grep -q "local"; then diff --git a/deployment/remote_env.sh b/deployment/remote_env.sh index 14ef8cc..f9c7278 100755 --- a/deployment/remote_env.sh +++ b/deployment/remote_env.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -exu +set -eu CURRENT_REMOTE="$(lxc remote get-default)" diff --git a/deployment/up.sh b/deployment/up.sh index 8e3749f..d4883b6 100755 --- a/deployment/up.sh +++ b/deployment/up.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -exu +set -eu cd "$(dirname "$0")" LATEST_GIT_COMMIT="$(cat ./project/.git/refs/heads/main)" diff --git a/deployment/update.sh b/deployment/update.sh index 8ea7247..8606f6b 100755 --- a/deployment/update.sh +++ b/deployment/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -exu +set -eu cd "$(dirname "$0")" TARGET_PROJECT_GIT_COMMIT=2e68e93303196fd57b1b473b149b5a82c9faa4f0