From: Oleg Broytman Date: Mon, 23 Dec 2019 02:28:00 +0000 (+0300) Subject: Refactor(locate-all): Reorder excluded directories X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=commitdiff_plain;h=142a0e7cfb8a9e6556a0ff1f24aac91182bbfdca Refactor(locate-all): Reorder excluded directories --- diff --git a/locate-all b/locate-all index 841721e..e348424 100755 --- a/locate-all +++ b/locate-all @@ -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