aboutsummaryrefslogtreecommitdiff
path: root/audio/mpc123
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:21 -0400
commitf2e002c96cb2d9cd29907819a1376117c4138122 (patch)
treef2efb71adfd71462b5384132e52ef142352ae87e /audio/mpc123
parentb151df4f5225391a39199d9b1c72a29bbf1158b0 (diff)
audio/mpc123: Fixed for bash4.
Diffstat (limited to 'audio/mpc123')
-rw-r--r--audio/mpc123/mpc123.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mpc123/mpc123.SlackBuild b/audio/mpc123/mpc123.SlackBuild
index 10dd3b4d07242..1167ffc45928b 100644
--- a/audio/mpc123/mpc123.SlackBuild
+++ b/audio/mpc123/mpc123.SlackBuild
@@ -54,12 +54,8 @@ ginstall -m 755 -d $PKG/usr/share/locale/it/LC_MESSAGES
ginstall -m 644 LOCALES/it/LC_MESSAGES/mpc123.mo $PKG/usr/share/locale/it/LC_MESSAGES
ginstall -m 644 LOCALES/it/LC_MESSAGES/mpc123.po $PKG/usr/share/locale/it
-( 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 {} \;