summaryrefslogtreecommitdiff
path: root/multimedia/mythtv
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:13 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:13 -0400
commit21ed3bfdc4c4295ceac8e02c9e64886873945569 (patch)
treef7fafbcc74839777e7df05f21441ecdd8f421007 /multimedia/mythtv
parent44ba635afcf0a0a25c9b8adecaa89866dfe46a04 (diff)
downloadslackbuilds-21ed3bfdc4c4295ceac8e02c9e64886873945569.tar.gz
multimedia/mythtv: Fixed for bash4.
Diffstat (limited to 'multimedia/mythtv')
-rw-r--r--multimedia/mythtv/mythtv.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/mythtv/mythtv.SlackBuild b/multimedia/mythtv/mythtv.SlackBuild
index 0dc281b57d..1b0c97a84c 100644
--- a/multimedia/mythtv/mythtv.SlackBuild
+++ b/multimedia/mythtv/mythtv.SlackBuild
@@ -100,12 +100,8 @@ install -D -m 0755 $CWD/rc.mythbackend.new $PKG/etc/rc.d/rc.mythbackend.new
find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
)
-( 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 FAQ keys.txt README UPGRADING docs/* \