about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip Munksgaard <pmunksgaard@gmail.com>2014-12-18 16:22:10 +0100
committerPhilip Munksgaard <pmunksgaard@gmail.com>2014-12-18 16:22:10 +0100
commit3d6babee9de8448823f99879e951d379b70a8a34 (patch)
tree880014c52fe5f395559efe4007946a1278d3744a
parent2a231594c41636f057de1de80d05b0aae03f8218 (diff)
downloadrust-3d6babee9de8448823f99879e951d379b70a8a34.tar.gz
rust-3d6babee9de8448823f99879e951d379b70a8a34.zip
Use `-perm /a+x` instead of `-perm +a+x` in calls to find
The use of `+a+x` is deprecated.

Fixes #19981.
-rw-r--r--mk/tests.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index 3340f9b4969..61fd736ef35 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -299,7 +299,7 @@ tidy:
 		| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
 		$(Q)echo $(ALL_HS) \
 		| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
-		$(Q)find $(S)src -type f -perm +a+x \
+		$(Q)find $(S)src -type f -perm /a+x \
 		    -not -name '*.rs' -and -not -name '*.py' \
 		    -and -not -name '*.sh' \
 		| grep '^$(S)src/jemalloc' -v \