From fbc259e3ddf81a6498c1ef51e7656ec52e8f77e3 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:15 -0400 Subject: games/abe: Fixed for bash4. --- games/abe/abe.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/games/abe/abe.SlackBuild b/games/abe/abe.SlackBuild index 3a0f91ff2a7e3..fe03f8b8fd09d 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 -- cgit v1.2.3