Prevern Path and PATH variables from messing things up wip
authortimothy.murphy@nokia.com
Fri, 15 Jan 2010 20:20:21 +0000
branchwip
changeset 119 f293a5f26578
parent 118 375b7128e900
child 120 005c5b5a8f94
child 121 5e5ae3e212b3
child 123 b748fbcd9079
Prevern Path and PATH variables from messing things up
sbsv2/raptor/bin/sbs.bat
--- 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