holtdl      02/04/07 17:10:40

  Modified:    src/script ant
  Log:
  Fix DIRLIBS to allow for space (iow, more quoting crud -- gack!)
  (PR 5178)
  
  Revision  Changes    Path
  1.16      +3 -3      jakarta-ant/src/script/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/script/ant,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ant       1 Apr 2002 03:58:50 -0000       1.15
  +++ ant       8 Apr 2002 00:10:40 -0000       1.16
  @@ -85,12 +85,12 @@
   fi
   
   # add in the dependency .jar files
  -DIRLIBS=${ANT_HOME}/lib/*.jar
  -for i in ${DIRLIBS}
  +DIRLIBS="${ANT_HOME}"/lib
  +for i in "${DIRLIBS}"/*.jar
   do
       # if the directory is empty, then it will return the input string
       # this is stupid, so case for it
  -    if [ "$i" != "${DIRLIBS}" ] ; then
  +    if [ "$i" != "${DIRLIBS}/*.jar" ] ; then
         if [ -z "$LOCALCLASSPATH" ] ; then
           LOCALCLASSPATH=$i
         else
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to