Skip to content

Commit

Permalink
Use the more portable find -perm syntax
Browse files Browse the repository at this point in the history
This is an improvement of fd781a1 adopted by rustc in rust-lang/rust@f001f9a7
See also rust-lang#822
  • Loading branch information
gkoz committed Oct 9, 2015
1 parent 94a5b9b commit feb0b7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ style:
sh tests/check-style.sh

no-exes:
find $$(git ls-files) -perm +a+x -type f \
find $$(git ls-files) -type f \
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
-not -name configure -not -name '*.sh' -not -name '*.rs' \
-not -wholename "*/rust-installer/*" | \
grep '.*' \
Expand Down

0 comments on commit feb0b7d

Please sign in to comment.