Fix API breakage caused by OS Plugin version scan
[releng/global-jjb.git] / shell / common-variables.sh
index 7bbc36f..6a5d2fb 100644 (file)
@@ -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
 }