summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:44 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:44 -0400
commit34aaf8472f381d1941bd72b3c6d6497c6b421350 (patch)
tree5146813b56be3346405182a3b1b26766113d2040 /libraries
parent5cd6d89afd6249af676bba5cccb25ca3ec91a2c1 (diff)
downloadslackbuilds-34aaf8472f381d1941bd72b3c6d6497c6b421350.tar.gz
libraries/c-ares: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/c-ares/c-ares.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
index 141b7f1ca2..09d8afd893 100644
--- a/libraries/c-ares/c-ares.SlackBuild
+++ b/libraries/c-ares/c-ares.SlackBuild
@@ -54,12 +54,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 || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+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 {} \;