ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/script ant
Date Sun, 02 Feb 2003 11:50:08 GMT
conor       2003/02/02 03:50:08

  Modified:    src/script ant
  Log:
  Minor tweak to which usage
  
  Revision  Changes    Path
  1.32      +4 -1      jakarta-ant/src/script/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/script/ant,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -w -u -r1.31 -r1.32
  --- ant	2 Feb 2003 11:40:23 -0000	1.31
  +++ ant	2 Feb 2003 11:50:08 -0000	1.32
  @@ -87,7 +87,10 @@
         JAVACMD="$JAVA_HOME/bin/java"
       fi
     else
  -    JAVACMD=`which java`
  +    JAVACMD=`which java 2> /dev/null `
  +    if [ -z "$JAVACMD" ] ; then 
  +        JAVACMD=java
  +    fi
     fi
   fi
    
  
  
  

Mime
View raw message