From f9b1e71abd8f910071730c013dc4ca814c21ff27 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Thu, 9 Jun 2022 14:07:23 +0100 Subject: [PATCH] infra: fix env checking in base-builder (#7833) Ref: https://github.com/google/oss-fuzz/pull/7828#discussion_r893332700 --- infra/base-images/base-builder/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index f783b2772..6e2bff245 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