summaryrefslogtreecommitdiffstats
path: root/bin/d-i_manual.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-29 17:40:57 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-29 17:40:57 +0100
commit1e939b9b5d8973003f6e58fb92a38b1b20e48b7c (patch)
tree33166745ad2092f74f09638567c4488fae353699 /bin/d-i_manual.sh
parentd2ab0c1aafa51aff660c914a0a7ec520274161f7 (diff)
downloadjenkins.debian.net-1e939b9b5d8973003f6e58fb92a38b1b20e48b7c.tar.xz
run all cores for building
Diffstat (limited to 'bin/d-i_manual.sh')
-rwxr-xr-xbin/d-i_manual.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh
index b9f2e634..78c9c539 100755
--- a/bin/d-i_manual.sh
+++ b/bin/d-i_manual.sh
@@ -39,7 +39,8 @@ pdebuild_package() {
# build
#
cd manual
- pdebuild --use-pdebuild-internal
+ NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
+ pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU"
cd ..
}