summaryrefslogtreecommitdiff
path: root/audio/musepack-tools
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:23 -0400
commitb0f09c400338a435b05851e2751c213c3e1a23d1 (patch)
tree3088cd634115de23aa63527c19b56b2714ee9593 /audio/musepack-tools
parent41e1e3acd39a2618feebc45f074c62f786b5dbb2 (diff)
downloadslackbuilds-b0f09c400338a435b05851e2751c213c3e1a23d1.tar.gz
audio/musepack-tools: Fixed for bash4.
Diffstat (limited to 'audio/musepack-tools')
-rwxr-xr-xaudio/musepack-tools/musepack-tools.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/musepack-tools/musepack-tools.SlackBuild b/audio/musepack-tools/musepack-tools.SlackBuild
index 2b4d492d8e..9d4f94880a 100755
--- a/audio/musepack-tools/musepack-tools.SlackBuild
+++ b/audio/musepack-tools/musepack-tools.SlackBuild
@@ -53,12 +53,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 || 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild