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:05:49 UTC

svn commit: r408737 - /maven/components/trunk/maven-cli/src/bin/mvn

Author: trygvis
Date: Mon May 22 13:05:49 2006
New Revision: 408737

URL: http://svn.apache.org/viewvc?rev=408737&view=rev
Log:
o Making the mvn script Solaris sh compatible.

Modified:
    maven/components/trunk/maven-cli/src/bin/mvn

Modified: maven/components/trunk/maven-cli/src/bin/mvn
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-cli/src/bin/mvn?rev=408737&r1=408736&r2=408737&view=diff
==============================================================================
--- maven/components/trunk/maven-cli/src/bin/mvn (original)
+++ maven/components/trunk/maven-cli/src/bin/mvn Mon May 22 13:05:49 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