mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Move set -u down below self-exec
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#
|
||||
# Note: this script is called by Boulder integration test suite!
|
||||
|
||||
set -eux
|
||||
set -ex
|
||||
|
||||
# Check that python executable is available in the PATH. Fail immediately if not.
|
||||
command -v python > /dev/null || (echo "Error, python executable is not in the PATH" && exit 1)
|
||||
@@ -21,6 +21,9 @@ command -v python > /dev/null || (echo "Error, python executable is not in the P
|
||||
# running it only when the CI environment variable is already set.]
|
||||
[ -z "$SYNTHETIC_PTY" ] && SYNTHETIC_PTY=true exec python -c 'import pty, sys; pty.spawn(sys.argv[1:])' "$0" "$@"
|
||||
|
||||
# The SYNTHETIC_PTY item above doesn't work if set -u has already been run.
|
||||
set -u
|
||||
|
||||
. ./tests/integration/_common.sh
|
||||
export PATH="$PATH:/usr/sbin" # /usr/sbin/nginx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user