diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:35:49 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:35:49 -0400 |
commit | a5d290e84a0a588fb463cbbc6df9e6dd6cf3bffa (patch) | |
tree | 761cd5c0d21d7aec46ef6df32af9b6cb98644a55 /libraries/commoncpp2 | |
parent | 050da04d322dbb2ee97950fd845048ed6b2797d0 (diff) | |
download | slackbuilds-a5d290e84a0a588fb463cbbc6df9e6dd6cf3bffa.tar.gz |
libraries/commoncpp2: Fixed for bash4.
Diffstat (limited to 'libraries/commoncpp2')
-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 {} \; |