summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-15 16:24:13 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-15 16:24:13 +0100
commitac99a448b69818877342282b40d6656d3f1dfdf3 (patch)
tree30db177565b19ad7ec35f085c126e630e6f15789
parente2b60798fe16f5a234e178b968504d7328bc6c32 (diff)
parent10eaf0c52bcec565df46a90ceeebe59d52c8cbff (diff)
Merge pull request #68587 from Riteo/file-check-exception
Add an exception for thirdparty subdirectories in file_format.sh
-rwxr-xr-xmisc/scripts/file_format.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/scripts/file_format.sh b/misc/scripts/file_format.sh
index 1200b96ea0..a2f33692f9 100755
--- a/misc/scripts/file_format.sh
+++ b/misc/scripts/file_format.sh
@@ -31,7 +31,9 @@ while IFS= read -rd '' f; do
continue
elif [[ "$f" == *"po" ]]; then
continue
- elif [[ "$f" == "thirdparty"* ]]; then
+ elif [[ "$f" == "thirdparty/"* ]]; then
+ continue
+ elif [[ "$f" == *"/thirdparty/"* ]]; then
continue
elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then
continue