aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 70fd25dc9ea7f..53afd25623279 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