summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:04 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:04 -0400
commit066ec73e87bae31a77c8d98974bdb975cbbf2af8 (patch)
treea91c9b5c1496bdb1d918d8adf324ccacb344fad0
parentf3d00d5ca94c60d2174310f01bcd43190cc05c2d (diff)
downloadslackbuilds-066ec73e87bae31a77c8d98974bdb975cbbf2af8.tar.gz
multimedia/mlt: Fixed for bash4.
-rw-r--r--multimedia/mlt/mlt.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/mlt/mlt.SlackBuild b/multimedia/mlt/mlt.SlackBuild
index 6de3c84b09..22ed736198 100644
--- a/multimedia/mlt/mlt.SlackBuild
+++ b/multimedia/mlt/mlt.SlackBuild
@@ -97,12 +97,8 @@ if [ $PYTHON = "yes" ]; then
)
fi
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS ChangeLog NEWS COPYING README GPL \