From a5d290e84a0a588fb463cbbc6df9e6dd6cf3bffa Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:35:49 -0400 Subject: libraries/commoncpp2: Fixed for bash4. --- libraries/commoncpp2/commoncpp2.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries/commoncpp2') diff --git a/libraries/commoncpp2/commoncpp2.SlackBuild b/libraries/commoncpp2/commoncpp2.SlackBuild index 93d9db0a9c..a75833c3fe 100644 --- a/libraries/commoncpp2/commoncpp2.SlackBuild +++ b/libraries/commoncpp2/commoncpp2.SlackBuild @@ -95,12 +95,8 @@ mv doc/man $PKG/usr # Remove static libraries rm $PKG/usr/lib${LIBDIRSUFFIX}/*a -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - 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 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; -- cgit v1.2.3