You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by va...@locus.apache.org on 2000/03/03 23:09:07 UTC

cvs commit: jakarta-tools/moo build.sh

vanitha     00/03/03 14:09:07

  Modified:    moo      build.sh
  Log:
  Fixed CLASSPATH
  
  Revision  Changes    Path
  1.4       +6 -4      jakarta-tools/moo/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-tools/moo/build.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.sh	2000/01/14 14:50:16	1.3
  +++ build.sh	2000/03/03 22:09:07	1.4
  @@ -1,15 +1,17 @@
   #!/bin/sh
   #
  -# $Id: build.sh,v 1.3 2000/01/14 14:50:16 rubys Exp $
  +# $Id: build.sh,v 1.4 2000/03/03 22:09:07 vanitha Exp $
   # Ksh wrapper around ant build system.
   
   ADDL_CLASSPATH=./../../jakarta-ant/lib/ant.jar:./../../jakarta-ant/lib/xml.jar
   
  -if test -n $CLASSPATH; then
  -  export CLASSPATH=$ADDL_CLASSPATH:$CLASSPATH
  +if [ "$CLASSPATH" != "" ] ; then
  +  CLASSPATH=$CLASSPATH:$ADDL_CLASSPATH
   else
  -  export CLASSPATH=$ADDL_CLASSPATH
  + CLASSPATH=$ADDL_CLASSPATH
   fi
  +
  +export CLASSPATH
   
   echo Building with classpath $CLASSPATH