diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-21 21:44:04 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-21 21:44:04 +0100 |
commit | 95bd45a0883383de5cccab0bd34da0cbbf54a558 (patch) | |
tree | 31a4bcecbc4b771524775942de8018295896ff0a /hooks | |
parent | 126c989ad067502ca718d29f5ffa8a53d6b0fb0d (diff) |
post-update hook: grep -c instead of wc -l
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/post-update | 2 |
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/* |