Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=0ef605948506e2c9f332b14d6baab4935d5a5a33

commit 0ef605948506e2c9f332b14d6baab4935d5a5a33
Author: James Buren <[email protected]>
Date:   Thu Feb 13 05:33:39 2014 -0600

makepkg: do a grep insensitive match when trying to find the automatic MAKEFLAGS
This fixes detection on ARMv7 cubieboard, where the 'processor' line is actually
'Processor'.

diff --git a/scripts/makepkg b/scripts/makepkg
index 13223b7..1f6f6c5 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1142,7 +1142,7 @@ if [ -z "$PKG_COMP" ]; then
fi

if [ "$USE_AUTO_MAKEFLAGS" != "n" ]; then
-       export MAKEFLAGS="-j`grep -c ^processor /proc/cpuinfo`"
+       export MAKEFLAGS="-j`grep -i -c ^processor /proc/cpuinfo`"
fi

ARGLIST=$@
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to