aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:40 -0400
commit1080d60465dbb910d52d8f3914a3debefb7c9212 (patch)
tree811356f0f3c2888ac86f01c2ee642cd7b067da1c
parente073ca19a4c39e5ddd6b0cbb233d3865c0367d60 (diff)
libraries/libmicrohttpd: Fixed for bash4.
-rw-r--r--libraries/libmicrohttpd/libmicrohttpd.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libmicrohttpd/libmicrohttpd.SlackBuild b/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
index 30f6ce47b4d4b..7c73d5dbf31e0 100644
--- a/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
+++ b/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
@@ -76,12 +76,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 {} \;