summaryrefslogtreecommitdiff
path: root/hooks/post-update
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-07 23:09:48 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-07 23:09:48 +0100
commitd22a9c93c70bc63b69152394c1dbda74a01c373c (patch)
tree1dc7a6c7c52cb749a78842d32a3d8ec8b4ad408f /hooks/post-update
parent3ac50ee3f009f53ab7863fae42419501a4396b41 (diff)
post-update hook: makeflags: Don't use more jobs than available CPUs
Diffstat (limited to 'hooks/post-update')
-rw-r--r--hooks/post-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-update b/hooks/post-update
index db5d097..88d9dbd 100644
--- a/hooks/post-update
+++ b/hooks/post-update
@@ -23,7 +23,7 @@ for snippet in $PDIR/*/provides/zsh/*(.N); {
# A machine rarely gets a new CPU, so why not do this here...
echo export MAKEFLAGS=\
-\"j$(( $(grep -c '^processor' /proc/cpuinfo) + 1 ))\" >> $PDIR/zsh/provided/env
+\"j$(grep -c '^processor' /proc/cpuinfo)\" >> $PDIR/zsh/provided/env
cd $PDIR/zsh/etc
zcompile functions.zwc functions/*