X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcommon-variables.sh;h=6a5d2fb098a88c20703f18593e6805bed6162751;hb=6eefde1f463638b5021c2ec96eb67a017d379f1f;hp=7bbc36feaaff9a5499646b067597c8861f99dc5e;hpb=7ff047e6606b384cd84cd6dbc5bea3d93e29357f;p=releng%2Fglobal-jjb.git diff --git a/shell/common-variables.sh b/shell/common-variables.sh index 7bbc36fe..6a5d2fb0 100644 --- a/shell/common-variables.sh +++ b/shell/common-variables.sh @@ -24,6 +24,8 @@ echo "$MAVEN_OPTIONS" # Activates the lftools virtualenv lftools_activate() { virtualenv --quiet "/tmp/v/lftools" + set +u # Ignore unbound variables in activate # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091 source "/tmp/v/lftools/bin/activate" + set -u # Restore unbound variable checking }