summaryrefslogtreecommitdiffstats
path: root/source/d/dev86/dev86.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/dev86/dev86.SlackBuild')
-rwxr-xr-xsource/d/dev86/dev86.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/d/dev86/dev86.SlackBuild b/source/d/dev86/dev86.SlackBuild
index 1c10de807..fb49e7e94 100755
--- a/source/d/dev86/dev86.SlackBuild
+++ b/source/d/dev86/dev86.SlackBuild
@@ -73,9 +73,9 @@ cd $PKGNAM-$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 {} \+
#Does not compile with changed CFLAGS
#CC="gcc" make CFLAGS="-Wall -Wstrict-prototypes $SLKCFLAGS -g" DIST=$PKG || exit 1
@@ -89,7 +89,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
+ find . -type f -exec gzip -9 {} \+
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
@@ -98,11 +98,11 @@ cp -a Changes Contributors COPYING README $PKG/usr/doc/$PKGNAM-$VERSION
for i in bootblocks copt dis88 elksemu unproto ; do
cp -a $i/README $PKG/usr/doc/$PKGNAM-$VERSION/README.$i ;
done
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+find $PKG/usr/doc -type f -exec chmod 0644 {} \+
if [ "$ARCH" = "x86_64" ]; then # Remove traces of elks
rm -f $PKG/usr/doc/$PKGNAM-$VERSION/README.elksemu
- find $PKG/usr/man -name "elks*.*" -exec rm -f {} \;
+ find $PKG/usr/man -name "elks*.*" -exec rm -f {} \+
fi
mkdir -p $PKG/install