Introduction
Introduction Statistics Contact Development Disclaimer Help
scripts: Fix non-portable find -perm /mode - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
commit 870b26af8eb58e98b8564561ebec8500165c593f
parent f496998f4f621bc2b96f972176d32efc2dd259f7
Author: Quentin Rameau <[email protected]>
Date: Sun, 29 Oct 2023 12:28:37 +0100
scripts: Fix non-portable find -perm /mode
Diffstat:
M scripts/mkproto | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/scripts/mkproto b/scripts/mkproto
@@ -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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.