From 95706c5f0d64f2be13416a446e64890c0084c0e2 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sat, 24 Jul 2021 08:19:02 +0200 Subject: [PATCH] [strings] Faster grep by ignoring 3party Signed-off-by: Alexander Borsuk --- tools/python/clean_strings_txt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/clean_strings_txt.py b/tools/python/clean_strings_txt.py index 0ecb66c6fe..fac7b369d2 100755 --- a/tools/python/clean_strings_txt.py +++ b/tools/python/clean_strings_txt.py @@ -70,7 +70,7 @@ def grep_android(): def grep_core(): logging.info("Grepping core") - grep = "grep -r -I 'GetLocalizedString' {0}/*".format(OMIM_ROOT) + grep = "grep -r -I --exclude-dir {0}/3party 'GetLocalizedString' {0}/*".format(OMIM_ROOT) ret = android_grep_wrapper(grep, CORE_RE) return parenthesize(ret)