summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:25 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:25 -0400
commitdc21d1f80b5634cc8c0fc55c12666a4dd299f98d (patch)
treeda8d585cddbe9b2b830fa733136dfaf1a3adc8be
parent7e2d7547066997e64b37e9e8fa8de8897abf9696 (diff)
downloadslackbuilds-dc21d1f80b5634cc8c0fc55c12666a4dd299f98d.tar.gz
slackbuilds-dc21d1f80b5634cc8c0fc55c12666a4dd299f98d.tar.xz
libraries/Crypt-SSLeay: Fixed for bash4.
-rw-r--r--libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
index 937ec693ae..fb77577282 100644
--- a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
+++ b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
@@ -71,12 +71,8 @@ make DESTDIR=$PKG \
INSTALLVENDORMAN3DIR=/usr/man/man3 \
install
-( 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 {} \;