Make tidy-binaries find invocation work on Linux

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.
This commit is contained in:
William Throwe 2015-08-10 00:12:45 -04:00
parent febdc3b201
commit f001f9a73e
1 changed files with 2 additions and 1 deletions

View File

@ -267,7 +267,8 @@ 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' \
| grep '^$(S)src/jemalloc' -v \