scripts: Fix non-portable find -perm /mode

This commit is contained in:
Quentin Rameau 2023-10-29 12:28:37 +01:00 committed by k0ga
parent f496998f4f
commit 870b26af8e
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ trap "rm -f scripts/proto" EXIT INT QUIT TERM
(set -e
echo d $prefix/bin $prefix/bin 755
find . ! -name . -prune -type f -perm /111 |
find . ! -name . -prune -type f \( -perm -u+x -o -perm -g+x -o -perm o+x \) |
sed "s@.*@c & $prefix/bin/& 755@"
echo d $manprefix/man1 $manprefix/man1 755