summaryrefslogtreecommitdiff
path: root/source/n/php/php.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/php/php.SlackBuild')
-rwxr-xr-xsource/n/php/php.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/n/php/php.SlackBuild b/source/n/php/php.SlackBuild
index 62e3de5c..115a02fc 100755
--- a/source/n/php/php.SlackBuild
+++ b/source/n/php/php.SlackBuild
@@ -126,14 +126,14 @@ fi
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 {} \+
-find . -name "*.h" -exec chmod 644 {} \;
+find . -name "*.h" -exec chmod 644 {} \+
# Sometimes they ship a few of these:
-find . -name "*.orig" -exec rm {} \;
+find . -name "*.orig" -exec rm {} \+
# Patch ini files:
zcat $CWD/php.ini-development.diff.gz | patch -p1 --verbose || exit 1
@@ -274,9 +274,9 @@ rm -f $PKG/usr/lib${LIBDIRSUFFIX}/php/extensions/*.a
( cd $PKG/usr/lib${LIBDIRSUFFIX}/php
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 {} \+
)
mkdir -p $PKG/usr/doc/php-$VERSION