diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-05-21 16:59:16 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-05-21 16:59:16 +0200 |
commit | 104e8770d897433ea93ad591a5e3afd13a1bb834 (patch) | |
tree | df9065016d29788551bccb3288f000f4a42b21b3 | |
parent | 7004267a13f134d3ce94e058de079214e7f0f2c2 (diff) | |
download | xtools-104e8770d897433ea93ad591a5e3afd13a1bb834.tar.gz xtools-104e8770d897433ea93ad591a5e3afd13a1bb834.tar.xz xtools-104e8770d897433ea93ad591a5e3afd13a1bb834.zip |
xmypkgs: use "git grep", much faster. v0.39
-rwxr-xr-x | xmypkgs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmypkgs b/xmypkgs index f8b117a..4520462 100755 --- a/xmypkgs +++ b/xmypkgs @@ -8,7 +8,6 @@ if [ -z "$EMAIL" ]; then fi cd "$(xdistdir)" && -find srcpkgs -name template -print0 | - xargs -0 grep -l -F "<$EMAIL>" | +git grep -l -F "<$EMAIL>" -- 'srcpkgs/*/template' cut -d/ -f2 | sort |