# HG changeset patch # User Jon Chatten # Date 1267610599 0 # Node ID 2257b1af191f718602953cd0055a2eb876f5e464 # Parent 15d964981d940601fad8380076a06dcb96a71dd6 SF Bug 1912 - Raptor should take python from the path [if not set with SBS_PYTHON or bundled with Raptor] - revised. diff -r 15d964981d94 -r 2257b1af191f sbsv2/raptor/bin/sbs --- a/sbsv2/raptor/bin/sbs Tue Mar 02 16:28:30 2010 +0000 +++ b/sbsv2/raptor/bin/sbs Wed Mar 03 10:03:19 2010 +0000 @@ -91,6 +91,7 @@ __PYTHON__=$SBS_PYTHON elif [ -f "$__LOCAL_PYTHON__" ]; then __PYTHON__=$__LOCAL_PYTHON__ + export SBS_PYTHON=$__PYTHON__ export PYTHONPATH= else __PYTHON__=python.exe diff -r 15d964981d94 -r 2257b1af191f sbsv2/raptor/bin/sbs.bat --- a/sbsv2/raptor/bin/sbs.bat Tue Mar 02 16:28:30 2010 +0000 +++ b/sbsv2/raptor/bin/sbs.bat Wed Mar 03 10:03:19 2010 +0000 @@ -45,6 +45,7 @@ :localpython @SET __PYTHON__=%__LOCAL_PYTHON__% +@SET SBS_PYTHON=%__PYTHON__% @SET PYTHONPATH= :sbspythonpath @@ -73,7 +74,7 @@ @REM Tell CYGWIN not to map unix security attributes to windows to @REM prevent raptor from potentially creating read-only files: -@set CYGWIN=nontsec nosmbntsec +@SET CYGWIN=nontsec nosmbntsec @REM Run Raptor with all the arguments. @%__PYTHON__% %SBS_HOME%\python\raptor_start.py %* diff -r 15d964981d94 -r 2257b1af191f sbsv2/raptor/lib/config/locations.xml --- a/sbsv2/raptor/lib/config/locations.xml Tue Mar 02 16:28:30 2010 +0000 +++ b/sbsv2/raptor/lib/config/locations.xml Wed Mar 03 10:03:19 2010 +0000 @@ -72,7 +72,7 @@ - +