Browse Source

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
master
Stefan Bodewig 24 years ago
parent
commit
05d67d513e
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      bootstrap.sh

+ 4
- 1
bootstrap.sh View File

@@ -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


Loading…
Cancel
Save