]> git.phdru.name Git - git-scripts.git/blobdiff - locate-all
Fix copy/paste bug
[git-scripts.git] / locate-all
index fb9d0d550c00e62fa700f859467ccb683ef39dad..b4fcdeea3cf24e0f85c0ecf13902b13d276edf48 100755 (executable)
@@ -1,3 +1,4 @@
 #! /bin/sh
-(locate -b \\.git && locate -b \*.git) | sed 's!/\.git$!!' |
-   sort | uniq >locate-all.list
+locate -b \*.git | sed 's!/\.git$!!' |
+   grep -v "/archive/SQLObject/\|/third-party/\|$HOME/tmp/" |
+   sort | uniq > locate-all.list