You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/05/01 08:40:08 UTC

svn commit: r165461 - /maven/maven-1/core/trunk/bootstrap.sh

Author: brett
Date: Sat Apr 30 23:40:06 2005
New Revision: 165461

URL: http://svn.apache.org/viewcvs?rev=165461&view=rev
Log:
fix script for non-cygwin

Modified:
    maven/maven-1/core/trunk/bootstrap.sh

Modified: maven/maven-1/core/trunk/bootstrap.sh
URL: http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/bootstrap.sh?rev=165461&r1=165460&r2=165461&view=diff
==============================================================================
--- maven/maven-1/core/trunk/bootstrap.sh (original)
+++ maven/maven-1/core/trunk/bootstrap.sh Sat Apr 30 23:40:06 2005
@@ -5,7 +5,7 @@
   CYGWIN*) cygwin=true ;;
 esac
 
-if [ $cygwin ]; then
+if [ "$cygwin" == "true" ]; then
   export MAVEN_HOME=`cygpath -pw $MAVEN_HOME`
   export MAVEN_HOME_LOCAL=`cygpath -pw $MAVEN_HOME_LOCAL`
 fi
@@ -14,7 +14,7 @@
 
 sleep 1
 
-ps | grep $$ | grep -v grep | while read t1 t2
+ps -f | grep $$ | grep -v grep | while read t0 t1 t2
 do
   if [ $t1 != $$ ]; then
     tail -f --pid=$t1 bootstrap.txt



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org