[ros-diffs] [cfinck] 31386: - 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.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Dec 22 00:08:37 CET 2007


Author: cfinck
Date: Sat Dec 22 02:08:37 2007
New Revision: 31386

URL: http://svn.reactos.org/svn/reactos?rev=31386&view=rev
Log:
- 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.

Modified:
    trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh

Modified: trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh?rev=31386&r1=31385&r2=31386&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh (original)
+++ trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh Sat Dec 22 02:08:37 2007
@@ -251,6 +251,10 @@
 		echo
 	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 @@
 	checkrun
 fi
 
-CPUCOUNT=`$installdir/bin/cpucount`
+CPUCOUNT=`$installdir/bin/cpucount -x1`
 cd "$installdir/mingw32"
 
 # mingw-runtime




More information about the Ros-diffs mailing list