]> git.phdru.name Git - git-scripts.git/commitdiff
Refactor(locate-all): Reorder excluded directories
authorOleg Broytman <phd@phdru.name>
Mon, 23 Dec 2019 02:28:00 +0000 (05:28 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 23 Dec 2019 02:28:00 +0000 (05:28 +0300)
locate-all

index 841721ea07bbffd902f1278e6c0ab16d372cd2dc..e348424a0e2739b791c87cc649e283a4520a5351 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 locate -b \*.git |
-   grep -v "/archive/SQLObject/\|/archive/cheetah3/\|/third-party/\|$HOME/tmp/" |
+   grep -v "/archive/SQLObject/\|/archive/cheetah3/\|$HOME/tmp/\|/third-party/" |
    while read path; do
       if [ -d "$path" ]; then # skip files `.git` - they're submodules
          if [ "`basename \"$path\"`" = .git ]; then