summaryrefslogtreecommitdiffstats
path: root/bin/d-i_manual.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 22:54:21 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 22:54:21 +0200
commitca1f05897fb22ccdf94e5978f2fab7a96dca978c (patch)
treeaa465d0eecad6359d00162fc0f353bc676d94224 /bin/d-i_manual.sh
parent5a4b26958471fc30137f840627c774703b8afd43 (diff)
downloadjenkins.debian.net-ca1f05897fb22ccdf94e5978f2fab7a96dca978c.tar.xz
make grep more robust
Diffstat (limited to 'bin/d-i_manual.sh')
-rwxr-xr-xbin/d-i_manual.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh
index 3e9d2beb..01a9f14b 100755
--- a/bin/d-i_manual.sh
+++ b/bin/d-i_manual.sh
@@ -46,7 +46,7 @@ pdebuild_package() {
# build
#
cd manual
- NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
+ NUM_CPU=$(cat /proc/cpuinfo |grep '^processor'|wc -l)
pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" -- --http-proxy $http_proxy
#
# publish and cleanup