Auto merge of #27625 - wthrowe:find, r=alexcrichton
New enough find on Linux doesn't support "-perm +..." and suggests using "-perm /..." instead, but that doesn't work on Windows. Hopefully all platforms are happy with this expanded version. I don't have access to a Windows development system to test this, so someone needs to verify that this actually works there before merging. Closes #19981.
This commit is contained in:
commit
7b7fc67dd4
|
@ -268,9 +268,10 @@ tidy-basic:
|
|||
.PHONY: tidy-binaries
|
||||
tidy-binaries:
|
||||
@$(call E, check: binaries)
|
||||
$(Q)find $(S)src -type f -perm +a+x \
|
||||
$(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 \
|
||||
|
|
Loading…
Reference in New Issue