--- ant.orig	Thu Oct 11 23:57:18 2001
+++ ant	Thu Nov 29 09:10:58 2001
@@ -74,16 +74,16 @@
 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" ] ; then
       if [ -z "$LOCALCLASSPATH" ] ; then
         LOCALCLASSPATH=$i
       else
-        LOCALCLASSPATH="$i":$LOCALCLASSPATH
+        LOCALCLASSPATH=${i}:${LOCALCLASSPATH}
       fi
     fi
 done
