sbsv2/raptor/bin/sbs.bat
branchwip
changeset 119 f293a5f26578
parent 19 830586221171
child 149 d082b140eb98
--- a/sbsv2/raptor/bin/sbs.bat	Fri Jan 15 20:19:26 2010 +0000
+++ b/sbsv2/raptor/bin/sbs.bat	Fri Jan 15 20:20:21 2010 +0000
@@ -43,7 +43,11 @@
 @IF "%__CYGWIN__%"=="" SET __CYGWIN__=%SBS_HOME%\win32\cygwin
 
 @REM add to the search path
-@SET PATH=%__MINGW__%\bin;%__CYGWIN__%\bin;%SBS_HOME%\win32\bin;%PATH%
+@REM (make sure that we don't get into trouble if there are Path and PATH variables)
+@SET PATH_TEMP=%__MINGW__%\bin;%__CYGWIN__%\bin;%SBS_HOME%\win32\bin;%PATH%
+@SET PATH=
+@SET PATH=%PATH_TEMP%
+@SET PATH_TEMP=
 
 @REM Make sure that /tmp is not set incorrectly for sbs
 @umount -u /tmp >NUL  2>NUL