infra: fix env checking in base-builder (#7833)

Ref: https://github.com/google/oss-fuzz/pull/7828#discussion_r893332700
This commit is contained in:
DavidKorczynski 2022-06-09 14:07:23 +01:00 committed by GitHub
parent 291956b501
commit f9b1e71abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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