sbsv2/raptor/bin/sbs
branchwip
changeset 28 6983dbbe3d70
parent 0 044383f39525
child 117 ecf683438dc6
equal deleted inserted replaced
27:2e850dca8de6 28:6983dbbe3d70
    66 	SBS_HOME=${SBS_HOME//\\//}
    66 	SBS_HOME=${SBS_HOME//\\//}
    67 
    67 
    68 	__MINGW__=${SBS_MINGW:-$SBS_HOME/$HOSTPLATFORM_DIR/mingw}
    68 	__MINGW__=${SBS_MINGW:-$SBS_HOME/$HOSTPLATFORM_DIR/mingw}
    69 	__CYGWIN__=${SBS_CYGWIN:-$SBS_HOME/$HOSTPLATFORM_DIR/cygwin}
    69 	__CYGWIN__=${SBS_CYGWIN:-$SBS_HOME/$HOSTPLATFORM_DIR/cygwin}
    70 	__PYTHON__=${SBS_PYTHON:-$SBS_HOME/$HOSTPLATFORM_DIR/python252/python.exe}
    70 	__PYTHON__=${SBS_PYTHON:-$SBS_HOME/$HOSTPLATFORM_DIR/python252/python.exe}
       
    71 	export PYTHONPATH=${SBS_PYTHONPATH:-$SBS_HOME/$HOSTPLATFORM_DIR/python252}
    71 
    72 
    72     # Command for unifying path strings. For example, "c:\some\path" and
    73     # Command for unifying path strings. For example, "c:\some\path" and
    73     # "/cygdrive/c/some/path" will both be converted into "c:/some/path".
    74     # "/cygdrive/c/some/path" will both be converted into "c:/some/path".
    74 	u="$__CYGWIN__/bin/cygpath.exe -m"
    75 	u="$__CYGWIN__/bin/cygpath.exe -m"
    75 
    76 
    85 	# Tell Cygwin not to map unix security attributes to windows to
    86 	# Tell Cygwin not to map unix security attributes to windows to
    86 	# prevent raptor from potentially creating read-only files:
    87 	# prevent raptor from potentially creating read-only files:
    87 	export CYGWIN='nontsec nosmbntsec'
    88 	export CYGWIN='nontsec nosmbntsec'
    88 
    89 
    89 else
    90 else
       
    91 	export PYTHONPATH=${SBS_PYTHONPATH:-$SBS_HOME/$HOSTPLATFORM_DIR/python262/lib}
    90 	PATH=$SBS_HOME/$HOSTPLATFORM_DIR/python262/bin:$SBS_HOME/$HOSTPLATFORM_DIR/bin:$PATH
    92 	PATH=$SBS_HOME/$HOSTPLATFORM_DIR/python262/bin:$SBS_HOME/$HOSTPLATFORM_DIR/bin:$PATH
    91 	LD_LIBRARY_PATH=$SBS_HOME/$HOSTPLATFORM_DIR/python262/lib:$SBS_HOME/$HOSTPLATFORM_DIR/bv/lib:$LD_LIBRARY_PATH
    93 	LD_LIBRARY_PATH=$SBS_HOME/$HOSTPLATFORM_DIR/python262/lib:$SBS_HOME/$HOSTPLATFORM_DIR/bv/lib:$LD_LIBRARY_PATH
    92 
    94 
    93 	export PATH LD_LIBRARY_PATH
    95 	export PATH LD_LIBRARY_PATH
    94 	__PYTHON__=python
    96 	__PYTHON__=python