From 4ab660febada3dc5d806de19082699fb3658fa78 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 19 Jun 2016 16:56:59 +1000 Subject: [PATCH] _mod.qh files are exempt from header checks --- qcsrc/tools/headerstyle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/tools/headerstyle.sh b/qcsrc/tools/headerstyle.sh index ef1731592..b638927bf 100755 --- a/qcsrc/tools/headerstyle.sh +++ b/qcsrc/tools/headerstyle.sh @@ -24,7 +24,7 @@ function check() { include="#include \"${include}\"" startswith "$file" "$include" done - find "$base" -type f -name '*.qh' -print0 | sort -z | while read -r -d '' file; do + find "$base" -type f -name '*.qh' -a \! -name '_mod.qh' -print0 | sort -z | while read -r -d '' file; do echo "$file" startswith "$file" "#pragma once" done -- 2.39.2