Skip to content

Commit a5390aa

Browse files
committed
Rollup merge of rust-lang#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 rust-lang#19981.
2 parents 3b738ed + f001f9a commit a5390aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mk/tests.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ tidy-basic:
268268
.PHONY: tidy-binaries
269269
tidy-binaries:
270270
@$(call E, check: binaries)
271-
$(Q)find $(S)src -type f -perm +a+x \
271+
$(Q)find $(S)src -type f \
272+
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
272273
-not -name '*.rs' -and -not -name '*.py' \
273274
-and -not -name '*.sh' \
274275
| grep '^$(S)src/jemalloc' -v \

0 commit comments

Comments
 (0)