fixed processor bug from cpuinfo

pull/12/head
Tom Early 7 years ago
parent 217bf3d3e1
commit 8154fec41c

@ -38,7 +38,7 @@ InstallMMDVMHosts () {
InstallSystem () { InstallSystem () {
local n local n
if [ -z ${1} ]; then if [ -z ${1} ]; then
n=$( grep processor /proc/cpuinfo | wc -l ) n=$( grep '^processor' /proc/cpuinfo | wc -l )
echo "Detected $n processors for make" echo "Detected $n processors for make"
make base -j$n make base -j$n
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.