Skip to content

Commit 904e428

Browse files
committed
Whitelist .pp files in tidy-binaries
Pretty-printed files sometimes start with #![some_feature], which looks like a shebang line and confuses Windows builds into thinking they are executables.
1 parent f001f9a commit 904e428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/tests.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ tidy-binaries:
270270
$(Q)find $(S)src -type f \
271271
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
272272
-not -name '*.rs' -and -not -name '*.py' \
273-
-and -not -name '*.sh' \
273+
-and -not -name '*.sh' -and -not -name '*.pp' \
274274
| grep '^$(S)src/jemalloc' -v \
275275
| grep '^$(S)src/libuv' -v \
276276
| grep '^$(S)src/llvm' -v \

0 commit comments

Comments
 (0)