From 142a0e7cfb8a9e6556a0ff1f24aac91182bbfdca Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 23 Dec 2019 05:28:00 +0300 Subject: [PATCH] Refactor(locate-all): Reorder excluded directories --- locate-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2