aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtasn1/libtasn1.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:10 -0400
commitd12695a2c02883b2b803678cb01c845d966519c6 (patch)
tree38130a040e874a0d6dccb72489b755a949aa3631 /libraries/libtasn1/libtasn1.SlackBuild
parentf69bd2a41a93317ae556b87f863c50ed00effe28 (diff)
libraries/libtasn1: Fixed for bash4.
Diffstat (limited to 'libraries/libtasn1/libtasn1.SlackBuild')
-rw-r--r--libraries/libtasn1/libtasn1.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libtasn1/libtasn1.SlackBuild b/libraries/libtasn1/libtasn1.SlackBuild
index 889482b917806..1c765b243ed0f 100644
--- a/libraries/libtasn1/libtasn1.SlackBuild
+++ b/libraries/libtasn1/libtasn1.SlackBuild
@@ -75,12 +75,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
-)
+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 {} \;