aboutsummaryrefslogtreecommitdiff
path: root/libraries/mxml
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:27 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:27 -0400
commit3388ae96390c6d1e8e529da232f0d7b9ce4d9679 (patch)
treed5f20d7768fb8e81a85d14eb24c3721491d3fdd3 /libraries/mxml
parent7910e27111416010af9dc656b497659a901a967e (diff)
libraries/mxml: Fixed for bash4.
Diffstat (limited to 'libraries/mxml')
-rw-r--r--libraries/mxml/mxml.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/mxml/mxml.SlackBuild b/libraries/mxml/mxml.SlackBuild
index db9bb4b4f3481..bd204ebc52767 100644
--- a/libraries/mxml/mxml.SlackBuild
+++ b/libraries/mxml/mxml.SlackBuild
@@ -59,12 +59,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DSTROOT=$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 {} \;