From f001f9a73ec8e1625995e8c8a7b76dc5df77beed Mon Sep 17 00:00:00 2001 From: William Throwe Date: Mon, 10 Aug 2015 00:12:45 -0400 Subject: 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. --- mk/tests.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/tests.mk b/mk/tests.mk index 9341166beb0..df490511c6b 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -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 \ -- cgit 1.4.1-3-g733a5