sbsv2/raptor/bin/sbs_env.bat
branchwip
changeset 345 74a770b7bca3
parent 344 10ea2b2170d3
child 380 db59fc762214
equal deleted inserted replaced
344:10ea2b2170d3 345:74a770b7bca3
    16 
    16 
    17 @SET HOSTPLATFORM=win 32
    17 @SET HOSTPLATFORM=win 32
    18 @SET HOSTPLATFORM_DIR=win32
    18 @SET HOSTPLATFORM_DIR=win32
    19 
    19 
    20 @REM Automatically find SBS_HOME if it is not set
    20 @REM Automatically find SBS_HOME if it is not set
    21 @IF NOT "%SBS_HOME%"==""  goto foundhome
    21 @IF NOT "%SBS_HOME%"=="" GOTO foundhome
    22 @SET RAPTORBINDIR=%~dp0
    22 @SET RAPTORBINDIR=%~dp0
    23 @SET WD=%cd%
    23 @SET WD=%CD%
    24 @cd /d %RAPTORBINDIR%\..
    24 @CD /d %RAPTORBINDIR%\..
    25 @SET SBS_HOME=%cd%
    25 @SET SBS_HOME=%CD%
    26 @cd /d %WD%
    26 @CD /d %WD%
    27 :foundhome 
    27 :foundhome 
    28 
    28 
    29 @REM The python and PYTHONPATH used by Raptor are determined by, in order of precedence:
    29 @REM The python and PYTHONPATH used by Raptor are determined by, in order of precedence:
    30 @REM 1. the SBS_PYTHON and SBS_PYTHONPATH environment variables (if set)
    30 @REM 1. the SBS_PYTHON and SBS_PYTHONPATH environment variables (if set)
    31 @REM 2. the python shipped locally with Raptor (if present)
    31 @REM 2. the python shipped locally with Raptor (if present)