From 904e428dbadf9bd23a8ea1830fab100bc55a386f Mon Sep 17 00:00:00 2001 From: William Throwe Date: Wed, 12 Aug 2015 19:08:22 -0400 Subject: [PATCH] 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. --- mk/tests.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/tests.mk b/mk/tests.mk index df490511c6b..df3229bfa87 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -270,7 +270,7 @@ tidy-binaries: $(Q)find $(S)src -type f \ \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ -not -name '*.rs' -and -not -name '*.py' \ - -and -not -name '*.sh' \ + -and -not -name '*.sh' -and -not -name '*.pp' \ | grep '^$(S)src/jemalloc' -v \ | grep '^$(S)src/libuv' -v \ | grep '^$(S)src/llvm' -v \