summaryrefslogtreecommitdiffstats
path: root/source/l/zlib/zlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/zlib/zlib.SlackBuild')
-rwxr-xr-xsource/l/zlib/zlib.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/l/zlib/zlib.SlackBuild b/source/l/zlib/zlib.SlackBuild
index 93a0e3787..734afef9f 100755
--- a/source/l/zlib/zlib.SlackBuild
+++ b/source/l/zlib/zlib.SlackBuild
@@ -72,9 +72,9 @@ cd zlib-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -106,7 +106,7 @@ mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share
# Compress manual pages:
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} \+
for i in $( find $PKG/usr/man -type l ) ; do
ln -s $( readlink $i ).gz $i.gz
rm $i