summaryrefslogtreecommitdiff
path: root/multimedia/mythtv/mythtv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mythtv/mythtv.SlackBuild')
-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/* \