summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rw-r--r--hooks/post-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-update b/hooks/post-update
index 97a89dd..db5d097 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 '^processor' /proc/cpuinfo|wc -l) + 1 ))\" >> $PDIR/zsh/provided/env
+\"j$(( $(grep -c '^processor' /proc/cpuinfo) + 1 ))\" >> $PDIR/zsh/provided/env
cd $PDIR/zsh/etc
zcompile functions.zwc functions/*