- Make sure that we have an absolute path to the installation directory

- Also use -x1 for building the build tools

See issue #2901 for more details.

svn path=/trunk/tools/RosBE/; revision=631
This commit is contained in:
Colin Finck 2007-12-21 23:08:37 +00:00
parent 33eb01fa9d
commit 7baefedd1b

View File

@ -252,6 +252,10 @@ while [ "$installdir" = "" ]; do
fi
done
# Make sure we have the absolute path to the installation directory
cd "$installdir"
installdir="$PWD"
# Ready to start
boldmsg "Ready to start"
@ -343,7 +347,7 @@ if $process_cpucount; then
checkrun
fi
CPUCOUNT=`$installdir/bin/cpucount`
CPUCOUNT=`$installdir/bin/cpucount -x1`
cd "$installdir/mingw32"
# mingw-runtime