sbsv2/raptor/bin/sbs.bat
branchfix
changeset 299 2257b1af191f
parent 276 e80c44f576df
child 380 db59fc762214
equal deleted inserted replaced
298:15d964981d94 299:2257b1af191f
    43 @SET __PYTHON__=%SBS_PYTHON%
    43 @SET __PYTHON__=%SBS_PYTHON%
    44 @GOTO sbspythonpath
    44 @GOTO sbspythonpath
    45 
    45 
    46 :localpython
    46 :localpython
    47 @SET __PYTHON__=%__LOCAL_PYTHON__%
    47 @SET __PYTHON__=%__LOCAL_PYTHON__%
       
    48 @SET SBS_PYTHON=%__PYTHON__%
    48 @SET PYTHONPATH=
    49 @SET PYTHONPATH=
    49 
    50 
    50 :sbspythonpath
    51 :sbspythonpath
    51 @IF NOT "%SBS_PYTHONPATH%"=="" SET PYTHONPATH=%SBS_PYTHONPATH%
    52 @IF NOT "%SBS_PYTHONPATH%"=="" SET PYTHONPATH=%SBS_PYTHONPATH%
    52 
    53 
    71 @umount -u / >NUL  2>NUL
    72 @umount -u / >NUL  2>NUL
    72 @mount -u %__CYGWIN__% / >NUL 2>NUL
    73 @mount -u %__CYGWIN__% / >NUL 2>NUL
    73 
    74 
    74 @REM Tell CYGWIN not to map unix security attributes to windows to
    75 @REM Tell CYGWIN not to map unix security attributes to windows to
    75 @REM prevent raptor from potentially creating read-only files:
    76 @REM prevent raptor from potentially creating read-only files:
    76 @set CYGWIN=nontsec nosmbntsec
    77 @SET CYGWIN=nontsec nosmbntsec
    77 
    78 
    78 @REM Run Raptor with all the arguments.
    79 @REM Run Raptor with all the arguments.
    79 @%__PYTHON__% %SBS_HOME%\python\raptor_start.py %*
    80 @%__PYTHON__% %SBS_HOME%\python\raptor_start.py %*
    80 
    81 
    81 @ENDLOCAL
    82 @ENDLOCAL