diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:41 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:41 -0400 |
commit | fc437969bb8bf1b5771b3254fe0140a306ac5a4d (patch) | |
tree | 4ea51f48c029946eacd50bc3ad58e9ce34f84280 /games/sl/sl.SlackBuild | |
parent | 9b07f3958974598d23a30e91e5d515b5cd539b41 (diff) |
games/sl: Fixed for bash4.
Diffstat (limited to 'games/sl/sl.SlackBuild')
-rw-r--r-- | games/sl/sl.SlackBuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/games/sl/sl.SlackBuild b/games/sl/sl.SlackBuild index a1ddaa0d2d89..81c202f10ebe 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 {} \; |