# HG changeset patch # User timothy.murphy@nokia.com # Date 1263586821 0 # Node ID f293a5f26578e30af917d007405026d88a5b5e74 # Parent 375b7128e900be3f1a4bfee3cda3ab744a17ae1e Prevern Path and PATH variables from messing things up diff -r 375b7128e900 -r f293a5f26578 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