summaryrefslogtreecommitdiffstats
path: root/clang-tidy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tidy.sh')
-rwxr-xr-xclang-tidy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tidy.sh b/clang-tidy.sh
index 8527ae02d..ec9a226a6 100755
--- a/clang-tidy.sh
+++ b/clang-tidy.sh
@@ -3,7 +3,7 @@
set -e
FIXES_FILE="tidy-fixes.yaml"
-REGEX="/cuberite/src/\.?[^\.]"
+REGEX="cuberite_[^/\.]+/src/\.?[^\.]"
ARGS="-header-filter $REGEX -quiet -export-fixes $FIXES_FILE "$@" $REGEX"
# Generate the compilation database