From: PHO Date: Fri, 16 Mar 2012 08:21:20 +0000 (+0900) Subject: build-hc-pkg: cosmetic changes X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=build-hc-pkg.git;a=commitdiff_plain;h=2a3f4cc52b80621fa709e77ebc824847a6bf1709 build-hc-pkg: cosmetic changes --- 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