You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by tr...@apache.org on 2006/05/22 22:17:14 UTC
svn commit: r408749 -
/maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn
Author: trygvis
Date: Mon May 22 13:17:14 2006
New Revision: 408749
URL: http://svn.apache.org/viewvc?rev=408749&view=rev
Log:
Merging 408737 from the trunk.
Fixes MNG-2312: "The mvn script doesn't work on Solaris."
Modified:
maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn
Modified: maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn?rev=408749&r1=408748&r2=408749&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn (original)
+++ maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn Mon May 22 13:17:14 2006
@@ -52,7 +52,7 @@
esac
if [ -z "$JAVA_HOME" ] ; then
- if [ -e /etc/gentoo-release ] ; then
+ if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi