summaryrefslogtreecommitdiffstats
path: root/misc/scripts/clang_format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/scripts/clang_format.sh')
-rwxr-xr-xmisc/scripts/clang_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh
index 74a8e1a8a3..40d94d4276 100755
--- a/misc/scripts/clang_format.sh
+++ b/misc/scripts/clang_format.sh
@@ -21,7 +21,7 @@ fi
# Fix copyright headers, but not all files get them.
for f in $files; do
- if [[ "$f" == *"inc" ]]; then
+ if [[ "$f" == *"inc" && "$f" != *"compat.inc" ]]; then
continue
elif [[ "$f" == *"glsl" ]]; then
continue