diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:15 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:15 -0400 |
commit | fbc259e3ddf81a6498c1ef51e7656ec52e8f77e3 (patch) | |
tree | db169347d7367802a070d5e77b9302f93c69d7c6 | |
parent | d563dad9ab6d133764efd20cb2ffe417dd2b04b1 (diff) |
games/abe: Fixed for bash4.
-rw-r--r-- | games/abe/abe.SlackBuild | 8 |
1 files 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 |