summaryrefslogtreecommitdiff
path: root/games/neverball
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:35 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:35 -0400
commit7ac8410de99ee7c4b42f0071a2a5eebc84d6b2ce (patch)
tree5477a1854e1a228749fc2212a584c7fc80960639 /games/neverball
parent7ae3c17dd5fa8c3e4052ba7f6066d47e43a16039 (diff)
downloadslackbuilds-7ac8410de99ee7c4b42f0071a2a5eebc84d6b2ce.tar.gz
games/neverball: Fixed for bash4.
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