From 2a3f4cc52b80621fa709e77ebc824847a6bf1709 Mon Sep 17 00:00:00 2001 From: PHO Date: Fri, 16 Mar 2012 17:21:20 +0900 Subject: [PATCH] build-hc-pkg: cosmetic changes --- build-hc-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-hc-pkg b/build-hc-pkg index 6e0e1fa..868039e 100755 --- a/build-hc-pkg +++ b/build-hc-pkg @@ -15,7 +15,7 @@ function detect_number_of_cpus () { if sysctl -n "hw.ncpu" 2>/dev/null; then # This works for most BSDs. : - elif grep -qF processor /proc/cpuinfo; then + elif grep -qF processor /proc/cpuinfo 2>/dev/null; then # Linux sucks... grep -cF processor /proc/cpuinfo else -- 2.40.0