summaryrefslogtreecommitdiff
path: root/audio/alsacap/alsacap.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-25 13:31:33 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:38 +0700
commitb4673fe400254598bffd038872374eea8aa7e67f (patch)
tree157dbf28f3873c01577edbe82a65bbbad49476d6 /audio/alsacap/alsacap.SlackBuild
parentd81b146d7d884c2a019e9afb2284a5c4fd871a0c (diff)
downloadslackbuilds-b4673fe400254598bffd038872374eea8aa7e67f.tar.gz
audio/alsacap: Tweak script.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/alsacap/alsacap.SlackBuild')
-rw-r--r--audio/alsacap/alsacap.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/audio/alsacap/alsacap.SlackBuild b/audio/alsacap/alsacap.SlackBuild
index 70fd25dc9e..53afd25623 100644
--- a/audio/alsacap/alsacap.SlackBuild
+++ b/audio/alsacap/alsacap.SlackBuild
@@ -54,11 +54,8 @@ rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM.tgz
cd $PRGNAM
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
sed -i "s,gcc,gcc $SLKCFLAGS," Makefile
make