summaryrefslogtreecommitdiff
path: root/source/d/swig/swig.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/swig/swig.SlackBuild')
-rwxr-xr-xsource/d/swig/swig.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/d/swig/swig.SlackBuild b/source/d/swig/swig.SlackBuild
index 2afe26d3..b45adb6e 100755
--- a/source/d/swig/swig.SlackBuild
+++ b/source/d/swig/swig.SlackBuild
@@ -69,9 +69,9 @@ cd swig-$VERSION
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" \
CXXFLAGS="$SLKCFLAGS" \
@@ -114,8 +114,8 @@ cp -a \
Examples Doc/Manual Doc/Devel \
$PKG/usr/doc/swig-$VERSION
# Fix permissions and wipe the pdf bloat
-find $PKG/usr/doc/swig-$VERSION -type f -exec chmod 0644 {} \;
-find $PKG/usr/doc/swig-$VERSION -name "*.pdf" -exec rm -f {} \;
+find $PKG/usr/doc/swig-$VERSION -type f -exec chmod 0644 {} \+
+find $PKG/usr/doc/swig-$VERSION -name "*.pdf" -exec rm -f {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc