You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/09/21 05:54:05 UTC
cvs commit: xml-forrest/src/resources/forrest-shbat/bin forrest.bat
jefft 2003/09/20 20:54:05
Modified: src/resources/forrest-shbat/bin forrest.bat
Log:
Fix FOR-47 -- problem on win9x (%OS% is not 'Windows_NT'), where forrest.bat
leaves the user in a different directory. Thanks to Dave Brondsema
Revision Changes Path
1.16 +3 -0 xml-forrest/src/resources/forrest-shbat/bin/forrest.bat
Index: forrest.bat
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/bin/forrest.bat,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- forrest.bat 20 Nov 2002 11:25:29 -0000 1.15
+++ forrest.bat 21 Sep 2003 03:54:05 -0000 1.16
@@ -35,3 +35,6 @@
rem ---- Restore old ANT_HOME
set ANT_HOME=%OLD_ANT_HOME%
set CLASSPATH=%OLD_CLASSPATH%
+
+rem Fix FOR-47
+if not "%OS%"=="Windows_NT" cd ""%PWD%""