You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ru...@locus.apache.org on 2000/05/23 15:01:30 UTC

cvs commit: jakarta-ant build.sh

rubys       00/05/23 06:01:30

  Modified:    .        build.sh
  Log:
  allow explicit specification of ANT_HOME
  
  Revision  Changes    Path
  1.5       +6 -1      jakarta-ant/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.sh	2000/04/26 19:09:15	1.4
  +++ build.sh	2000/05/23 13:01:29	1.5
  @@ -1,6 +1,11 @@
   #!/bin/sh
   
  -ADDL_CLASSPATH=./lib/ant.jar
  +if [ "$ANT_HOME" == "" ] ; then
  +  ANT_HOME=`pwd`
  +fi
  +export ANT_HOME
  +
  +ADDL_CLASSPATH=$ANT_HOME/lib/ant.jar
   
   if [ "$CLASSPATH" != "" ] ; then
     CLASSPATH=$CLASSPATH:$ADDL_CLASSPATH