From f1fe121080d5ce8c870580a42a0c2d328cc42d4c Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 27 Feb 2018 16:49:58 -0800 Subject: [PATCH] Work with unset variables --- tests/integration/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/_common.sh b/tests/integration/_common.sh index 61fbad772..61b0aaa3a 100755 --- a/tests/integration/_common.sh +++ b/tests/integration/_common.sh @@ -17,7 +17,7 @@ certbot_test () { } # Use local ACMEv2 endpoint if requested and SERVER isn't already set. -if [ "$BOULDER_INTEGRATION" = "v2" -a -z "$SERVER" ]; then +if [ "${BOULDER_INTEGRATION:-v1}" = "v2" -a -n "${SERVER:+x}" ]; then SERVER="http://localhost:4001/directory" fi