aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/base-images
diff options
context:
space:
mode:
authorGravatar DavidKorczynski <david@adalogics.com>2022-06-09 14:07:23 +0100
committerGravatar GitHub <noreply@github.com>2022-06-09 09:07:23 -0400
commitf9b1e71abd8f910071730c013dc4ca814c21ff27 (patch)
treefcda54a0fde8ef1a25e1c2c6fcf5478de023c597 /infra/base-images
parent291956b5016d274f48e089fff062078d9a76a402 (diff)
infra: fix env checking in base-builder (#7833)
Diffstat (limited to 'infra/base-images')
-rwxr-xr-xinfra/base-images/base-builder/compile2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile
index f783b277..6e2bff24 100755
--- a/infra/base-images/base-builder/compile
+++ b/infra/base-images/base-builder/compile
@@ -18,7 +18,7 @@
echo "---------------------------------------------------------------"
# This is a temporary fix: fall back to LLVM14's old pass manager
-if [ -n "$OLD_LLVMPASS" ]; then
+if [ -n "${OLD_LLVMPASS-}" ]; then
export SANITIZER_FLAGS_introspector=$(echo $SANITIZER_FLAGS_introspector | sed -r 's/-O0/-flegacy-pass-manager/')
fi