aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:34 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:34 -0400
commitde86052f183013c31844ec1ac4eca15858791bba (patch)
tree1aa27823c90a60f8d5305ed5ae8926c5043832c4 /audio/xmms-scrobbler/xmms-scrobbler.SlackBuild
parenta87ad3b8976deb183979611f3e6b5a6881bfae07 (diff)
audio/xmms-scrobbler: Fixed for bash4.
Diffstat (limited to 'audio/xmms-scrobbler/xmms-scrobbler.SlackBuild')
-rw-r--r--audio/xmms-scrobbler/xmms-scrobbler.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild b/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild
index 7cb090a05a522..f5190d537f03a 100644
--- a/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild
+++ b/audio/xmms-scrobbler/xmms-scrobbler.SlackBuild
@@ -55,12 +55,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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \