aboutsummaryrefslogtreecommitdiff
path: root/academic/qhull
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:46 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:46 -0400
commitd885a97cc6d10891c545028295475a5b895a55a6 (patch)
tree2be5485f879e3e5c0e237ddbfa9f4a0ab4c35635 /academic/qhull
parentaf55666ebf4a6aad70afc002ef6e89c1bce148fb (diff)
academic/qhull: Fixed for bash4.
Diffstat (limited to 'academic/qhull')
-rw-r--r--academic/qhull/qhull.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild
index 39d79e0b9a4d..614efdf2b0e9 100644
--- a/academic/qhull/qhull.SlackBuild
+++ b/academic/qhull/qhull.SlackBuild
@@ -64,14 +64,8 @@ make install \
docdir=/usr/doc/$PRGNAM-$VERSION \
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 . | xargs file | grep "current ar archive" | cut -f 1 -d : | \
- xargs strip -g 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 {} \;