aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:42 -0400
commiteaaff26e7fc11a89197257c4579dda3aa4b82c7c (patch)
treef3d148ca2a2ec8963e38fee454a28ebd0ca88255
parent3a21fdb8cd419c71d6bb6b62e416dda12952c640 (diff)
development/lua: Fixed for bash4.
-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 0f8d7ac4164a2..e27481ed98a14 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 {} \;