pgoldstein 2002/09/26 16:07:25
Modified: tools/bin ant
Log:
Fixing Ant script in the standard distribution. Thanks to Noel Bergman.
Revision Changes Path
1.4 +3 -2 jakarta-james/tools/bin/ant
Index: ant
===================================================================
RCS file: /home/cvs/jakarta-james/tools/bin/ant,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ant 26 Sep 2002 22:05:11 -0000 1.3
+++ ant 26 Sep 2002 23:07:25 -0000 1.4
@@ -63,10 +63,11 @@
ANT_HOME=`dirname "$PRG"`/..
+ # need to restore position BEFORE we can cd with a ".."
+ cd $saveddir
+
# make it fully qualified
ANT_HOME=`cd "$ANT_HOME" && pwd`
-
- cd $saveddir
fi
# set ANT_LIB location
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>