Repository: maven Updated Branches: refs/heads/master d8fd65a3a -> 69448a7f0
MNG-5658: Fix syntax error in unix script on Solaris SPARC Submitted by: Frank Langelage <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/69448a7f Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/69448a7f Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/69448a7f Branch: refs/heads/master Commit: 69448a7f09e7fd89a1b242886f811947adc9233f Parents: d8fd65a Author: Jason van Zyl <[email protected]> Authored: Sun Jul 6 13:47:11 2014 -0400 Committer: Jason van Zyl <[email protected]> Committed: Sun Jul 6 13:47:11 2014 -0400 ---------------------------------------------------------------------- apache-maven/src/bin/mvn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/69448a7f/apache-maven/src/bin/mvn ---------------------------------------------------------------------- diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn index c71ffe7..c1442ec 100755 --- a/apache-maven/src/bin/mvn +++ b/apache-maven/src/bin/mvn @@ -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
