sbsv2/raptor/bin/sbs.bat
branchwip
changeset 119 f293a5f26578
parent 19 830586221171
child 149 d082b140eb98
equal deleted inserted replaced
118:375b7128e900 119:f293a5f26578
    41 @REM Use the cygwin set by the environment if possible
    41 @REM Use the cygwin set by the environment if possible
    42 @SET __CYGWIN__=%SBS_CYGWIN%
    42 @SET __CYGWIN__=%SBS_CYGWIN%
    43 @IF "%__CYGWIN__%"=="" SET __CYGWIN__=%SBS_HOME%\win32\cygwin
    43 @IF "%__CYGWIN__%"=="" SET __CYGWIN__=%SBS_HOME%\win32\cygwin
    44 
    44 
    45 @REM add to the search path
    45 @REM add to the search path
    46 @SET PATH=%__MINGW__%\bin;%__CYGWIN__%\bin;%SBS_HOME%\win32\bin;%PATH%
    46 @REM (make sure that we don't get into trouble if there are Path and PATH variables)
       
    47 @SET PATH_TEMP=%__MINGW__%\bin;%__CYGWIN__%\bin;%SBS_HOME%\win32\bin;%PATH%
       
    48 @SET PATH=
       
    49 @SET PATH=%PATH_TEMP%
       
    50 @SET PATH_TEMP=
    47 
    51 
    48 @REM Make sure that /tmp is not set incorrectly for sbs
    52 @REM Make sure that /tmp is not set incorrectly for sbs
    49 @umount -u /tmp >NUL  2>NUL
    53 @umount -u /tmp >NUL  2>NUL
    50 @mount -u %TEMP% /tmp >NUL 2>NUL
    54 @mount -u %TEMP% /tmp >NUL 2>NUL
    51 @umount -u / >NUL  2>NUL
    55 @umount -u / >NUL  2>NUL