aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:27 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:27 -0400
commita9f3dda5b516a87cbab0ddd3067390a7df6a3337 (patch)
tree3533b0ca6c936e19a06f0f9d42d9d5de965b50f9
parent69d638d25c7d8cff2a7075e7d0673df0c775f546 (diff)
audio/rubyripper: Fixed for bash4.
-rw-r--r--audio/rubyripper/rubyripper.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/rubyripper/rubyripper.SlackBuild b/audio/rubyripper/rubyripper.SlackBuild
index eb119373a730d..c05df447061e5 100644
--- a/audio/rubyripper/rubyripper.SlackBuild
+++ b/audio/rubyripper/rubyripper.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 {} \;