aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:52 -0400
commit0b9c41b04d59234ac64b094a44f3933a16f7f4b3 (patch)
tree13cff4fde8f183b7514e950a0cfdaeeda17df21b
parent0f366e6e865ed09e225e9658c423437b71dadb30 (diff)
development/polyml: Fixed for bash4.
-rw-r--r--development/polyml/polyml.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/polyml/polyml.SlackBuild b/development/polyml/polyml.SlackBuild
index 1d97c0ef87154..b98dd334dcc43 100644
--- a/development/polyml/polyml.SlackBuild
+++ b/development/polyml/polyml.SlackBuild
@@ -54,12 +54,8 @@ make
make install DESTDIR=$PKG
# Strip binaries and libraries
-( 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
# Compress man pages
( cd $PKG/usr/man