From cc24f5dbdca4964ff7309c7eabfc195c6a136e85 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:35:54 -0400 Subject: libraries/db46: Fixed for bash4. --- libraries/db46/db46.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries') diff --git a/libraries/db46/db46.SlackBuild b/libraries/db46/db46.SlackBuild index e9091d9be5..635d718a87 100644 --- a/libraries/db46/db46.SlackBuild +++ b/libraries/db46/db46.SlackBuild @@ -81,12 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | 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 # Remove WAY TOO LARGE (and misplaced) docs: rm -rf $PKG/usr/docs -- cgit v1.2.3