summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:15 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:15 -0400
commitfbc259e3ddf81a6498c1ef51e7656ec52e8f77e3 (patch)
treedb169347d7367802a070d5e77b9302f93c69d7c6 /games
parentd563dad9ab6d133764efd20cb2ffe417dd2b04b1 (diff)
downloadslackbuilds-fbc259e3ddf81a6498c1ef51e7656ec52e8f77e3.tar.gz
games/abe: Fixed for bash4.
Diffstat (limited to 'games')
-rw-r--r--games/abe/abe.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/abe/abe.SlackBuild b/games/abe/abe.SlackBuild
index 3a0f91ff2a..fe03f8b8fd 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