diff --git a/build/Linux/build/common/setenv.sh b/build/Linux/build/common/setenv.sh index e96da8bc7..3d127a3ea 100644 --- a/build/Linux/build/common/setenv.sh +++ b/build/Linux/build/common/setenv.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ -z "$CORECLR_NEWRELIC_HOME" ]; && [ -z "$CORECLR_NEW_RELIC_HOME" ]; then +if [ -z "$CORECLR_NEWRELIC_HOME" ] && [ -z "$CORECLR_NEW_RELIC_HOME" ]; then echo "CORECLR_NEWRELIC_HOME is undefined" else NRHOME=${CORECLR_NEWRELIC_HOME:-${CORECLR_NEW_RELIC_HOME}} @@ -8,4 +8,4 @@ else export CORECLR_ENABLE_PROFILING=1 export CORECLR_PROFILER={36032161-FFC0-4B61-B559-F6C5D41BAE5A} export CORECLR_PROFILER_PATH=$NRHOME/libNewRelicProfiler.so -fi \ No newline at end of file +fi