From ee089094453ff5bd2ff831fc7d75933b4ddcb0c6 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 12 Apr 2022 18:09:47 -0500 Subject: [PATCH] Unset ASAN after consuming it so scripts/portability.sh can be sourced twice. --- scripts/portability.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/portability.sh b/scripts/portability.sh index 1ee43870..3af2be5f 100644 --- a/scripts/portability.sh +++ b/scripts/portability.sh @@ -31,9 +31,10 @@ if [ ! -z "$ASAN" ]; then NOSTRIP=1 # Ignore leaks on exit. TODO export ASAN_OPTIONS="detect_leaks=0" + unset ASAN fi -# Centos 7 bug workaround, EOL June 30 2024. +# Centos 7 bug workaround, EOL June 30 2024. TODO DASHN=-n; wait -n 2>/dev/null; [ $? -eq 2 ] && unset DASHN # If the build is using gnu tools, make them behave less randomly. -- 2.39.2