summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/lua/lua.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index 0f8d7ac416..e27481ed98 100644
--- a/development/lua/lua.SlackBuild
+++ b/development/lua/lua.SlackBuild
@@ -82,13 +82,8 @@ cd -
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
cat etc/lua.pc > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/lua.pc
-( cd $PKG
- find . -type f | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . -type f | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- strip -g usr/lib${LIBDIRSUFFIX}/*.a
-)
+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 {} \;