From d22a9c93c70bc63b69152394c1dbda74a01c373c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 7 Jan 2009 23:09:48 +0100 Subject: post-update hook: makeflags: Don't use more jobs than available CPUs --- hooks/post-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks') 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/* -- cgit v1.2.3