summaryrefslogtreecommitdiff
path: root/source/d/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/gdb')
-rwxr-xr-xsource/d/gdb/gdb.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/d/gdb/gdb.SlackBuild b/source/d/gdb/gdb.SlackBuild
index 025c2d3e..1912b62d 100755
--- a/source/d/gdb/gdb.SlackBuild
+++ b/source/d/gdb/gdb.SlackBuild
@@ -68,9 +68,9 @@ cd gdb-$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 {} \+
# Currently broken in this version, but keep trying:
if [ "$VERSION" = "8.3.1" ]; then
@@ -105,7 +105,7 @@ cp -a COPYING* README $PKG/usr/doc/gdb-$VERSION
cd gdb
cp -a NEWS README $PKG/usr/doc/gdb-$VERSION/gdb
cp -a gdbserver/README $PKG/usr/doc/gdb-$VERSION/README.gdbserver
-find $PKG/usr/doc/gdb-$VERSION -type f -exec chmod 644 {} \;
+find $PKG/usr/doc/gdb-$VERSION -type f -exec chmod 644 {} \+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \