diff --git a/ci/build.sh b/ci/build.sh index bee8f057a7..41d13cf265 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -11,10 +11,10 @@ SRC=${SRC:-${PWD}} OS=$(uname) CMAKE_BACKTRACE="" -if [[ "$OS" == 'Linux' ]]; then +if [[ ${OS} == 'Linux' ]]; then CMAKE_BACKTRACE="-DNANO_STACKTRACE_BACKTRACE=ON" - if [[ "$COMPILER" == 'clang' ]]; then + if [[ ${COMPILER:-} == 'clang' ]]; then CMAKE_BACKTRACE="${CMAKE_BACKTRACE} -DNANO_BACKTRACE_INCLUDE=" fi fi