aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:46 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:46 -0400
commit786423321a68729d49f96632183777de82c9a2a0 (patch)
tree338746f09bcc97ea4c2e7722087698ddd0427fa7 /multimedia
parent2514ca5029509bb3e7c7a3b6c55b86c29e949f8c (diff)
multimedia/gnome-mplayer: Fixed for bash4.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gnome-mplayer/gnome-mplayer.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
index 597eac70bec55..a103c4413100b 100644
--- a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
+++ b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
@@ -56,12 +56,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;