Fix unbound variable failure
[releng/global-jjb.git] / shell / jjb-install.sh
index 6eea3ad..af2f42c 100644 (file)
@@ -11,7 +11,8 @@
 echo "---> jjb-install.sh"
 
 # Ensure we fail the job if any steps fail.
-set -eu -o pipefail
+# DO NOT set -u as virtualenv's activate script has unbound variables
+set -e -o pipefail
 
 virtualenv "$WORKSPACE/.virtualenvs/jjb"
 # shellcheck source=./.virtualenvs/jjb/bin/activate disable=SC1091