mirror of https://github.com/apache/maven.git
[MNG-5005] bin/mvn contains platform specific echo when on Mac OSX and JAVA_VERSION envvar is set
Submitted by: Jason Dillon git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1068201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
10a64ae252
commit
4be6fd8705
|
@ -56,8 +56,6 @@ case "`uname`" in
|
|||
Darwin*) darwin=true
|
||||
if [ -z "$JAVA_VERSION" ] ; then
|
||||
JAVA_VERSION="CurrentJDK"
|
||||
else
|
||||
echo "Using Java version: $JAVA_VERSION"
|
||||
fi
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
|
||||
|
|
|
@ -60,8 +60,6 @@ case "`uname`" in
|
|||
Darwin*) darwin=true
|
||||
if [ -z "$JAVA_VERSION" ] ; then
|
||||
JAVA_VERSION="CurrentJDK"
|
||||
else
|
||||
echo "Using Java version: $JAVA_VERSION"
|
||||
fi
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
|
||||
|
|
|
@ -64,8 +64,6 @@ case "`uname`" in
|
|||
Darwin*) darwin=true
|
||||
if [ -z "$JAVA_VERSION" ] ; then
|
||||
JAVA_VERSION="CurrentJDK"
|
||||
else
|
||||
echo "Using Java version: $JAVA_VERSION"
|
||||
fi
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
|
||||
|
|
Loading…
Reference in New Issue