From 731144880df405d4de5fa56a4bef610f29ea3ba8 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 8 Mar 2001 11:11:36 +0000 Subject: [PATCH] Don't hardcode junit.jar - it is not included in the source distribution. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268773 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index b886a7c91..ccfa6421c 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -41,7 +41,17 @@ if [ -d "bootstrap" ] ; then 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