mirror of https://github.com/apache/maven.git
o merged from r608827 (MNG-3310: JAVACMD set incorrectly when JAVA_HOME is not set)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@608828 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
36c86d19c7
commit
110adf290e
|
@ -128,7 +128,7 @@ if [ -z "$JAVACMD" ] ; then
|
|||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
JAVACMD="`which java`"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue