X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Flftools-install.sh;fp=shell%2Flftools-install.sh;h=7ae9618de49a46f8adefb81fc00b6bc072820660;hb=2c2b7ab2906106cf553e0ab358229496a5f1558e;hp=06fbe03b27ef6f520e7bc9919f63d7eebb447aa1;hpb=0cd4f5d8c5fc52e167cd19ab00bddec4f7f0c190;p=releng%2Fglobal-jjb.git diff --git a/shell/lftools-install.sh b/shell/lftools-install.sh index 06fbe03b..7ae9618d 100644 --- a/shell/lftools-install.sh +++ b/shell/lftools-install.sh @@ -11,7 +11,8 @@ echo "---> lftools-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/lftools" # shellcheck source=./.virtualenvs/lftools/bin/activate disable=SC1091