summaryrefslogtreecommitdiff
path: root/games/neverball
diff options
context:
space:
mode:
Diffstat (limited to 'games/neverball')
-rw-r--r--games/neverball/neverball.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/neverball/neverball.SlackBuild b/games/neverball/neverball.SlackBuild
index d84f06cd21..f32e29e6fa 100644
--- a/games/neverball/neverball.SlackBuild
+++ b/games/neverball/neverball.SlackBuild
@@ -69,12 +69,8 @@ mkdir -p $PKG/usr/{bin,share/$PRGNAM}
cp -a mapc $PRGNAM $BONUS $PKG/usr/bin || exit 1
cp -a data $PKG/usr/share/$PRGNAM || exit 1
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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
( cd dist
install -D -m 0644 mapc.1 $PKG/usr/man/man1/mapc.1