aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-osx-x64.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-24 09:48:11 +0200
committerSven Gothel <[email protected]>2013-06-24 09:48:11 +0200
commitf857d3f86be221fb5f8488a8419c4cac8d65fc89 (patch)
treed9b09a1f098a3a456f8e851680ae1e05548914a1 /make/scripts/tests-osx-x64.sh
parent00f82fde560306891823a1273baf50264dca3d05 (diff)
scripts: osx make/test java7/6 fixes
Diffstat (limited to 'make/scripts/tests-osx-x64.sh')
-rwxr-xr-xmake/scripts/tests-osx-x64.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/scripts/tests-osx-x64.sh b/make/scripts/tests-osx-x64.sh
index fe2d2c4ec..e1b07202b 100755
--- a/make/scripts/tests-osx-x64.sh
+++ b/make/scripts/tests-osx-x64.sh
@@ -2,11 +2,11 @@
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
-JAVA_HOME=`/usr/libexec/java_home -version 1.6`
+JAVA_HOME=`/usr/libexec/java_home -version 1.7`
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME PATH
spath=`dirname $0`
-. $spath/tests.sh /usr/bin/java -d64 ../build-macosx $*
+. $spath/tests.sh $JAVA_HOME/bin/java -d64 ../build-macosx $*