bodewig 01/03/08 03:11:36
Modified: . bootstrap.sh
Log:
Don't hardcode junit.jar - it is not included in the source distribution.
Revision Changes Path
1.46 +11 -1 jakarta-ant/bootstrap.sh
Index: bootstrap.sh
===================================================================
RCS file: /home/cvs/jakarta-ant/bootstrap.sh,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- bootstrap.sh 2001/03/04 13:35:47 1.45
+++ bootstrap.sh 2001/03/08 11:11:36 1.46
@@ -41,7 +41,17 @@
rm -r bootstrap
fi
-CLASSPATH=lib/crimson.jar:lib/jaxp.jar:lib/optional/junit.jar:${CLASSPATH}
+CLASSPATH=lib/crimson.jar:lib/jaxp.jar:${CLASSPATH}
+
+DIRLIBS=lib/optional/*.jar
+for i in ${DIRLIBS}
+do
+ # if the directory is empty, then it will return the input string
+ # this is stupid, so case for it
+ if [ "$i" != "${DIRLIBS}" ] ; then
+ CLASSPATH=$CLASSPATH:"$i"
+ fi
+done
TOOLS=src/main/org/apache/tools
CLASSDIR=classes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]