aboutsummaryrefslogtreecommitdiff
path: root/audio/alsaplayer
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:01 -0400
commit050244e0f150b0a04ed8dcac5d3373c01886bde6 (patch)
treececed3228250f6a18be6496a2b47783b17dcd321 /audio/alsaplayer
parent0bcef0afa999b36d4a9b94f6fe7be0e28f9be778 (diff)
audio/alsaplayer: Fixed for bash4.
Diffstat (limited to 'audio/alsaplayer')
-rw-r--r--audio/alsaplayer/alsaplayer.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/alsaplayer/alsaplayer.SlackBuild b/audio/alsaplayer/alsaplayer.SlackBuild
index 21dd3762c5600..d8d9c68744134 100644
--- a/audio/alsaplayer/alsaplayer.SlackBuild
+++ b/audio/alsaplayer/alsaplayer.SlackBuild
@@ -57,12 +57,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 {} \;