From 670c32326dd04ebed85e956a39ab20df35b9f629 Mon Sep 17 00:00:00 2001 From: Stephane Bailliez Date: Wed, 10 Jul 2002 21:46:11 +0000 Subject: [PATCH] Fix ANT_LIB path so that it uses a valid ANT_HOME under Cygwin.. PR: 10664 Submitted by: patdtaylor2000@yahoo.com (Patrick Taylor) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273085 13f79535-47bb-0310-9956-ffa450edef68 --- src/script/ant | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/ant b/src/script/ant index 47ea69cd9..7c78cf660 100644 --- a/src/script/ant +++ b/src/script/ant @@ -69,9 +69,6 @@ if [ -z "$ANT_HOME" ] ; then cd $saveddir fi -# set ANT_LIB location -ANT_LIB=${ANT_HOME}/lib - # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$ANT_HOME" ] && @@ -82,6 +79,9 @@ if $cygwin ; then CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi +# set ANT_LIB location +ANT_LIB=${ANT_HOME}/lib + if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then