aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:19 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:19 -0400
commit7a04eabb922d96e857c6298d49d7a742421b2c11 (patch)
tree7f320f06f509075e3fb29affe2c4b2c46853543d
parent22bd8a6134026b6527d8d7075bba713089a21eb0 (diff)
audio/mp3splt: Fixed for bash4.
-rw-r--r--audio/mp3splt/mp3splt.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mp3splt/mp3splt.SlackBuild b/audio/mp3splt/mp3splt.SlackBuild
index 5286c06d39452..816579ea84736 100644
--- a/audio/mp3splt/mp3splt.SlackBuild
+++ b/audio/mp3splt/mp3splt.SlackBuild
@@ -52,12 +52,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 {} \;