testsuite: Change JAVA_HOME
This commit is contained in:
parent
82ee98bd8d
commit
59a7187b1b
@ -11,7 +11,7 @@ HDFS_CMD_FORMAT="./hadoop/bin/hdfs --config hadoop/etc/hadoop namenode -format"
|
|||||||
source setup.sh
|
source setup.sh
|
||||||
|
|
||||||
setup_suite() {
|
setup_suite() {
|
||||||
if [ "FreeBSD" = $(uname) ]; then
|
if [ "FreeBSD" = "$(uname)" ]; then
|
||||||
export JAVA_HOME=${JAVA_HOME:-"/usr/local"}
|
export JAVA_HOME=${JAVA_HOME:-"/usr/local"}
|
||||||
else
|
else
|
||||||
export JAVA_HOME=${JAVA_HOME:-"/"}
|
export JAVA_HOME=${JAVA_HOME:-"/"}
|
||||||
|
Loading…
Reference in New Issue
Block a user