You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2001/01/16 17:30:03 UTC

cvs commit: jakarta-ant bootstrap.sh

bodewig     01/01/16 08:30:03

  Modified:    .        bootstrap.sh
  Log:
  Make sure we are invoking the correct javac, remove old optional.jar
  as well.
  
  Revision  Changes    Path
  1.32      +4 -1      jakarta-ant/bootstrap.sh
  
  Index: bootstrap.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/bootstrap.sh,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- bootstrap.sh	2000/12/13 18:58:38	1.31
  +++ bootstrap.sh	2001/01/16 16:30:03	1.32
  @@ -32,13 +32,16 @@
   export ANT_HOME
   
   if [ -z "$JAVAC" ] ; then
  -  JAVAC=javac;
  +  JAVAC=${JAVA_HOME}/bin/javac;
   fi
   
   echo ... Bootstrapping Ant Distribution
   
   if [ -f "lib/ant.jar" ] ; then
     rm lib/ant.jar
  +fi
  +if [ -f "lib/otional.jar" ] ; then
  +  rm lib/optional.jar
   fi
   
   # add in the dependency .jar files