summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:12 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:12 -0400
commit65e316257c7ca1cdeacf31b1d9987cb3efd5d022 (patch)
tree943b7be9a2b62b5944f8ab70b470979e79614ea9 /audio
parente43008bc40265293752843bdd8a82f9c621daff5 (diff)
downloadslackbuilds-65e316257c7ca1cdeacf31b1d9987cb3efd5d022.tar.gz
slackbuilds-65e316257c7ca1cdeacf31b1d9987cb3efd5d022.tar.xz
audio/last.fm: Fixed for bash4.
Diffstat (limited to 'audio')
-rw-r--r--audio/last.fm/last.fm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/last.fm/last.fm.SlackBuild b/audio/last.fm/last.fm.SlackBuild
index b84f839e55..fa90861dc7 100644
--- a/audio/last.fm/last.fm.SlackBuild
+++ b/audio/last.fm/last.fm.SlackBuild
@@ -61,12 +61,8 @@ gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
( cd $PKG/usr/share/pixmaps ; ln -s ../../lib${LIBDIRSUFFIX}/last.fm/data/app_55.png lastfm.png )
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION