From 95bd45a0883383de5cccab0bd34da0cbbf54a558 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 21 Dec 2008 21:44:04 +0100 Subject: post-update hook: grep -c instead of wc -l --- 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 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/* -- cgit v1.2.3