summaryrefslogtreecommitdiff
path: root/multimedia/cuetools
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:32 -0400
commit9c4b2a05d875cfaa80c64772bb653d92a95881aa (patch)
treed0d385be7bb076841ab173a54851e66faeacd417 /multimedia/cuetools
parent13c09036df6819b628d0d6dd5fd32ffb8c67a203 (diff)
downloadslackbuilds-9c4b2a05d875cfaa80c64772bb653d92a95881aa.tar.gz
multimedia/cuetools: Fixed for bash4.
Diffstat (limited to 'multimedia/cuetools')
-rw-r--r--multimedia/cuetools/cuetools.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild
index dc0f5a275a..c9b9d28d09 100644
--- a/multimedia/cuetools/cuetools.SlackBuild
+++ b/multimedia/cuetools/cuetools.SlackBuild
@@ -54,12 +54,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make 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
-)
+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 {} \;