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