summaryrefslogtreecommitdiff
path: root/games/sl/sl.SlackBuild
diff options
context:
space:
mode:
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 {} \;