aboutsummaryrefslogtreecommitdiff
path: root/games/robotfindskitten/robotfindskitten.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:40 -0400
commit9b07f3958974598d23a30e91e5d515b5cd539b41 (patch)
tree40773d2195f518dfac7c43c4ac6746f387f2cd3b /games/robotfindskitten/robotfindskitten.SlackBuild
parent35eb41143c23cce914554be5011e248f0f27dff7 (diff)
games/robotfindskitten: Fixed for bash4.
Diffstat (limited to 'games/robotfindskitten/robotfindskitten.SlackBuild')
-rw-r--r--games/robotfindskitten/robotfindskitten.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/robotfindskitten/robotfindskitten.SlackBuild b/games/robotfindskitten/robotfindskitten.SlackBuild
index 85f66ca4f6d42..c066536105e24 100644
--- a/games/robotfindskitten/robotfindskitten.SlackBuild
+++ b/games/robotfindskitten/robotfindskitten.SlackBuild
@@ -56,12 +56,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;