From 05d67d513e32571036c6713a25c283a98b7fef87 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 16 Jan 2001 16:30:03 +0000 Subject: [PATCH] Make sure we are invoking the correct javac, remove old optional.jar as well. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268466 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 3ae87a84f..db013da12 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -32,7 +32,7 @@ ANT_HOME=. export ANT_HOME if [ -z "$JAVAC" ] ; then - JAVAC=javac; + JAVAC=${JAVA_HOME}/bin/javac; fi echo ... Bootstrapping Ant Distribution @@ -40,6 +40,9 @@ echo ... Bootstrapping Ant Distribution if [ -f "lib/ant.jar" ] ; then rm lib/ant.jar fi +if [ -f "lib/otional.jar" ] ; then + rm lib/optional.jar +fi # add in the dependency .jar files DIRLIBS=${ANT_HOME}/lib/*.jar