about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Throwe <wtt6@cornell.edu>2015-08-10 00:12:45 -0400
committerWilliam Throwe <wtt6@cornell.edu>2015-08-10 00:12:45 -0400
commitf001f9a73ec8e1625995e8c8a7b76dc5df77beed (patch)
tree6d3333751545c889e80cb3429c821fb48f396c30
parentfebdc3b201bcce1546c88e3be1b956d3f90d3059 (diff)
downloadrust-f001f9a73ec8e1625995e8c8a7b76dc5df77beed.tar.gz
rust-f001f9a73ec8e1625995e8c8a7b76dc5df77beed.zip
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.
-rw-r--r--mk/tests.mk3
1 files changed, 2 insertions, 1 deletions
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 \