Skip to content

Commit

Permalink
fix: Fix syntax error in setenv.sh
Browse files Browse the repository at this point in the history
Fixes a syntax error that was introduced in #2852. 

Resolves #2863
  • Loading branch information
tippmar-nr authored Oct 31, 2024
1 parent d630c9c commit bb77c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Linux/build/common/setenv.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/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}}

export CORECLR_ENABLE_PROFILING=1
export CORECLR_PROFILER={36032161-FFC0-4B61-B559-F6C5D41BAE5A}
export CORECLR_PROFILER_PATH=$NRHOME/libNewRelicProfiler.so
fi
fi

0 comments on commit bb77c5c

Please sign in to comment.