summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-07 18:18:18 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-07 18:18:18 +0000
commitebe2744f63b7faa77761ad1433c14b3547a1f9eb (patch)
tree7158543c0df028dd1c5af2c229d6b621b65cb15a /baserock-bootstrap
parent8bffaa02ae471fc3fbcba1ff5d1ec17b9fe64156 (diff)
downloadmorph-ebe2744f63b7faa77761ad1433c14b3547a1f9eb.tar.gz
Detect number of CPUs in baserock-bootstrap using case-insens. grep.
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index 4fe0a076..fac37f5a 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -13,7 +13,7 @@ tools="$LFS/tools"
buildwhat="$1"
-CPUS=$(grep -c '^processor' /proc/cpuinfo)
+CPUS=$(grep -i -c '^processor' /proc/cpuinfo)
JOBS=$(expr 2 '*' $CPUS)
export LC_ALL=C