Skip to content
Snippets Groups Projects
Unverified Commit 9741a3c2 authored by Gagik Vardanyan's avatar Gagik Vardanyan Committed by GitHub
Browse files

Merge pull request #28443 from mantidproject/Fix_up_buildscript_on_mac_builders

Remove Bash 4.2 feature breaking Mac OSX
parents 3259c20a 959a1b3a
No related branches found
No related tags found
No related merge requests found
......@@ -312,8 +312,6 @@ fi
# Figure out if were doing a sanitizer build and setup any steps we need
###############################################################################
SANITIZER_FLAGS=''
if [[ ${JOB_NAME} == *address* ]]; then
SANITIZER_FLAGS="-DUSE_SANITIZER=Address"
......@@ -327,7 +325,7 @@ elif [[ ${JOB_NAME} == *undefined* ]]; then
SANITIZER_FLAGS="-DUSE_SANITIZER=undefined"
fi
if [[ -v ${SANITIZER_FLAGS} ]]; then
if [[ -n "${SANITIZER_FLAGS}" ]]; then
# Force build to RelWithDebInfo
BUILD_CONFIG="RelWithDebInfo"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment