[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master de54271 1/2: Exclude submodules from concinni
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master de54271 1/2: Exclude submodules from concinnity check |
Date: |
Thu, 1 Oct 2020 11:11:40 -0400 (EDT) |
branch: master
commit de54271fd6cc2019830b9e0725ccd6271448f462
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Exclude submodules from concinnity check
---
GNUmakefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/GNUmakefile b/GNUmakefile
index e82fabf..c529072 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -470,7 +470,10 @@ check_concinnity: source_clean custom_tools
-not -name 'pre-commit' \
-not -name 'post-checkout' \
| $(SED) -e's/^/Improperly executable: /'
- @find $(prefascicle_dir) -executable -type f -print0 \
+ @find $(prefascicle_dir) \
+ -not \( -path $(prefascicle_dir)/third_party -prune \) \
+ -not \( -path $(prefascicle_dir)/.git/modules -prune \) \
+ -executable -type f -print0 \
| xargs --null --max-args=1 --max-procs="$(shell nproc)"
./check_script.sh
@$(ECHO) " Problems detected by xmllint:"
@for z in $(xml_files); \