summaryrefslogtreecommitdiff
path: root/games/sl/sl.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:41 -0400
commitfc437969bb8bf1b5771b3254fe0140a306ac5a4d (patch)
tree4ea51f48c029946eacd50bc3ad58e9ce34f84280 /games/sl/sl.SlackBuild
parent9b07f3958974598d23a30e91e5d515b5cd539b41 (diff)
downloadslackbuilds-fc437969bb8bf1b5771b3254fe0140a306ac5a4d.tar.gz
games/sl: Fixed for bash4.
Diffstat (limited to 'games/sl/sl.SlackBuild')
-rw-r--r--games/sl/sl.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/sl/sl.SlackBuild b/games/sl/sl.SlackBuild
index a1ddaa0d2d..81c202f10e 100644
--- a/games/sl/sl.SlackBuild
+++ b/games/sl/sl.SlackBuild
@@ -75,9 +75,8 @@ mkdir -p $PKG/usr/man # man pages
)
# End of manual installation
-( cd $PKG
- find . | xargs file | grep "executable" | 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 {} \;