|
@@ -85,12 +85,12 @@ if [ -n "$CLASSPATH" ] ; then |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# add in the dependency .jar files |
|
|
# 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 |
|
|
do |
|
|
# if the directory is empty, then it will return the input string |
|
|
# if the directory is empty, then it will return the input string |
|
|
# this is stupid, so case for it |
|
|
# this is stupid, so case for it |
|
|
if [ "$i" != "${DIRLIBS}" ] ; then |
|
|
|
|
|
|
|
|
if [ "$i" != "${DIRLIBS}/*.jar" ] ; then |
|
|
if [ -z "$LOCALCLASSPATH" ] ; then |
|
|
if [ -z "$LOCALCLASSPATH" ] ; then |
|
|
LOCALCLASSPATH=$i |
|
|
LOCALCLASSPATH=$i |
|
|
else |
|
|
else |
|
|