Skip to content

Commit a4626e7

Browse files
committed
Script fixes
1 parent 579c8fe commit a4626e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrumentation/jmx-metrics/library/src/test/resources/hadoop3-env.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
# The java implementation to use. By default, this environment
5454
# variable is REQUIRED on ALL platforms except OS X!
5555
# export JAVA_HOME=
56-
export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
56+
JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
57+
export JAVA_HOME
5758

5859
# Location of Hadoop. By default, Hadoop will attempt to determine
5960
# this location based upon its execution path.

0 commit comments

Comments
 (0)