Skip to content

Commit f001f9a

Browse files
committed
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.
1 parent febdc3b commit f001f9a

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
@@ -267,7 +267,8 @@ tidy-basic:
267267
.PHONY: tidy-binaries
268268
tidy-binaries:
269269
@$(call E, check: binaries)
270-
$(Q)find $(S)src -type f -perm +a+x \
270+
$(Q)find $(S)src -type f \
271+
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
271272
-not -name '*.rs' -and -not -name '*.py' \
272273
-and -not -name '*.sh' \
273274
| grep '^$(S)src/jemalloc' -v \

0 commit comments

Comments
 (0)