diff -r df89378e9223 -r 7b7f0409fc00 sbsv2/raptor/bin/sbs --- a/sbsv2/raptor/bin/sbs Tue Nov 30 13:59:58 2010 +0800 +++ b/sbsv2/raptor/bin/sbs Tue Nov 30 14:05:41 2010 +0800 @@ -21,96 +21,11 @@ if [ -z "$SBS_HOME" ] ; then temp=$0 SBS_HOME=$(cd ${temp%/*} && echo $PWD) - export SBS_HOME=${SBS_HOME%/bin} -fi - -# Ensure that the host type is set for Raptor: -eval $($SBS_HOME/bin/gethost.sh -e) - -if [ -z "$HOSTPLATFORM" ]; then - echo "Error: HOSTPLATFORM could not be determined." 1>&2 - exit 1 -fi - -if [ ! -d "$SBS_HOME/$HOSTPLATFORM_DIR" ]; then -cat 1>&2 <