summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:49 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:49 -0400
commita5d290e84a0a588fb463cbbc6df9e6dd6cf3bffa (patch)
tree761cd5c0d21d7aec46ef6df32af9b6cb98644a55
parent050da04d322dbb2ee97950fd845048ed6b2797d0 (diff)
downloadslackbuilds-a5d290e84a0a588fb463cbbc6df9e6dd6cf3bffa.tar.gz
libraries/commoncpp2: Fixed for bash4.
-rw-r--r--libraries/commoncpp2/commoncpp2.SlackBuild8
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 {} \;