summaryrefslogtreecommitdiff
path: root/games/abe/abe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/abe/abe.SlackBuild')
-rw-r--r--games/abe/abe.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/abe/abe.SlackBuild b/games/abe/abe.SlackBuild
index 3a0f91ff2a..fe03f8b8fd 100644
--- a/games/abe/abe.SlackBuild
+++ b/games/abe/abe.SlackBuild
@@ -92,12 +92,8 @@ cp -r sounds $PKG/usr/share/games/abe/sounds
cp -r maps $PKG/usr/share/games/abe/maps
cp -r images $PKG/usr/share/games/abe/images
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild