about summary refs log tree commit diff
path: root/mk
diff options
context:
space:
mode:
authorWilliam Throwe <wtt6@cornell.edu>2015-08-12 19:08:22 -0400
committerWilliam Throwe <wtt6@cornell.edu>2015-08-12 19:08:22 -0400
commit904e428dbadf9bd23a8ea1830fab100bc55a386f (patch)
treecd6add5edaba569f69acbef9eaf862117c6662c6 /mk
parentf001f9a73ec8e1625995e8c8a7b76dc5df77beed (diff)
downloadrust-904e428dbadf9bd23a8ea1830fab100bc55a386f.tar.gz
rust-904e428dbadf9bd23a8ea1830fab100bc55a386f.zip
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.
Diffstat (limited to 'mk')
-rw-r--r--mk/tests.mk2
1 files changed, 1 insertions, 1 deletions
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 \