From eaaff26e7fc11a89197257c4579dda3aa4b82c7c Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:42 -0400 Subject: development/lua: Fixed for bash4. --- development/lua/lua.SlackBuild | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'development/lua') 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 {} \; -- cgit v1.2.3