mirror of https://github.com/apache/maven.git
MNG-5658: Fix syntax error in unix script on Solaris SPARC
Submitted by: Frank Langelage <frank.langelage@osnanet.de>
This commit is contained in:
parent
d8fd65a3ae
commit
69448a7f09
|
@ -79,11 +79,11 @@ case "`uname`" in
|
|||
export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
|
||||
fi
|
||||
|
||||
if [[ -z "$JAVA_HOME" && -x /usr/libexec/java_home ]] ; then
|
||||
if [[ -z "$JAVA_HOME" && -x "/usr/libexec/java_home" ]] ; then
|
||||
#
|
||||
# Apple JDKs
|
||||
#
|
||||
export JAVA_HOME=$(/usr/libexec/java_home)
|
||||
export JAVA_HOME=/usr/libexec/java_home
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue