aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:27 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:27 -0400
commitb592a9bf7897c8b7dd88acaa5337107eb98a16ee (patch)
tree42b6baa7c9a6b50c49654bcbf29df765b1a58e45 /multimedia
parente04d6002c8fec2bc7f75b2a6baf02afc27860d15 (diff)
multimedia/HandBrake: Fixed for bash4.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index a3699279a3a95..bc15c56033013 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -53,12 +53,8 @@ cd build
install -D -m0755 HandBrakeCLI $PKG/usr/bin/HandBrakeCLI
cd ..
-( 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 -a AUTHORS COPYING CREDITS NEWS THANKS $PKG/usr/doc/$PRGNAM-$VERSION