jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-watchdog-4.0 build.sh
Date Sat, 03 Feb 2001 22:01:21 GMT
craigmcc    01/02/03 14:01:20

  Modified:    .        build.sh
  Log:
  Respect any existing ANT_HOME setting.
  
  Revision  Changes    Path
  1.4       +6 -2      jakarta-watchdog-4.0/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/build.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.sh	2001/01/25 18:11:19	1.3
  +++ build.sh	2001/02/03 22:01:20	1.4
  @@ -1,13 +1,17 @@
   #!/bin/sh
   #
  -# $Id: build.sh,v 1.3 2001/01/25 18:11:19 craigmcc Exp $
  +# $Id: build.sh,v 1.4 2001/02/03 22:01:20 craigmcc Exp $
   # Ksh wrapper around ant build system.
   
   baseDir=`pwd`
   
   echo $baseDir .....
   
  -ADDL_CLASSPATH=../jakarta-ant/lib/ant.jar:$JAVA_HOME/lib/tools.jar
  +if [ "$ANT_HOME" = "" ] ; then
  +  ANT_HOME=../jakarta-ant
  +fi
  +
  +ADDL_CLASSPATH=$ANT_HOME/lib/ant.jar:$JAVA_HOME/lib/tools.jar
   
   if [ -n "$CLASSPATH" ]; then
     CLASSPATH=$CLASSPATH:$ADDL_CLASSPATH
  
  
  

Mime
View raw message