diff options
-rw-r--r-- | libraries/commoncpp2/commoncpp2.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
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 {} \; |