From 7ac8410de99ee7c4b42f0071a2a5eebc84d6b2ce Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:35 -0400 Subject: games/neverball: Fixed for bash4. --- games/neverball/neverball.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'games/neverball/neverball.SlackBuild') diff --git a/games/neverball/neverball.SlackBuild b/games/neverball/neverball.SlackBuild index d84f06cd215a..f32e29e6fa3f 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 -- cgit v1.2.3