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.
This commit is contained in:
parent
f001f9a73e
commit
904e428dba
|
@ -270,7 +270,7 @@ tidy-binaries:
|
||||||
$(Q)find $(S)src -type f \
|
$(Q)find $(S)src -type f \
|
||||||
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
|
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
|
||||||
-not -name '*.rs' -and -not -name '*.py' \
|
-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/jemalloc' -v \
|
||||||
| grep '^$(S)src/libuv' -v \
|
| grep '^$(S)src/libuv' -v \
|
||||||
| grep '^$(S)src/llvm' -v \
|
| grep '^$(S)src/llvm' -v \
|
||||||
|
|
Loading…
Reference in New Issue