From d2ab8b8f5f921361dc6f28e21c6e588693c0e81d Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 19 Feb 2020 03:25:00 +0100 Subject: [PATCH] [AIRFLOW-6820] fixup! fix unbound variable (#7459) --- scripts/ci/in_container/_in_container_utils.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci/in_container/_in_container_utils.sh b/scripts/ci/in_container/_in_container_utils.sh index 20df2771b8..a7e3719512 100644 --- a/scripts/ci/in_container/_in_container_utils.sh +++ b/scripts/ci/in_container/_in_container_utils.sh @@ -17,6 +17,7 @@ # under the License. function assert_in_container() { + AIRFLOW_CI_VERBOSE=${AIRFLOW_CI_VERBOSE:="false"} if [[ ! -f /.dockerenv ]]; then echo >&2 echo >&2 "You are not inside the Airflow docker container!" @@ -29,7 +30,7 @@ function assert_in_container() { } function in_container_script_start() { - if [[ ${AIRFLOW_CI_VERBOSE:="false"} == "true" ]]; then + if [[ ${AIRFLOW_CI_VERBOSE} == "true" ]]; then set -x fi }