summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:03 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:03 -0400
commitf3d00d5ca94c60d2174310f01bcd43190cc05c2d (patch)
tree6c1c9d233204d7a712f648c87da65a72a12c5efc
parentc2b873e1870bb020023f462b30b7b0e2b3b2d16d (diff)
downloadslackbuilds-f3d00d5ca94c60d2174310f01bcd43190cc05c2d.tar.gz
multimedia/mkvtoolnix: Fixed for bash4.
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
index f3d61b7760..a2a7c964dd 100644
--- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
+++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
@@ -75,12 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
make pkgdatadir=/usr/doc/$PRGNAM-$VERSION
make pkgdatadir=/usr/doc/$PRGNAM-$VERSION 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 || 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;