summaryrefslogtreecommitdiffstats
path: root/bin/d-i_build.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_build.sh
parent5a4b26958471fc30137f840627c774703b8afd43 (diff)
downloadjenkins.debian.net-ca1f05897fb22ccdf94e5978f2fab7a96dca978c.tar.xz
make grep more robust
Diffstat (limited to 'bin/d-i_build.sh')
-rwxr-xr-xbin/d-i_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index a6359c09..2e189d1f 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -67,7 +67,7 @@ pdebuild_package() {
SOURCE=$(dpkg-parsechangelog |grep ^Source: | cut -d " " -f2)
# workaround #767260 (console-setup doesn't support parallel build)
if [ "$SOURCE" != "console-setup" ] ; then
- NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
+ NUM_CPU=$(cat /proc/cpuinfo |grep '^processor'|wc -l)
else
NUM_CPU=1
fi