summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:23 -0400
commit7cf895929c419d3396c6346fdedb03ae6d7c2bab (patch)
treee61bcdcd0298e19b74b18e9bef58287a05a373cc
parentb0f09c400338a435b05851e2751c213c3e1a23d1 (diff)
downloadslackbuilds-7cf895929c419d3396c6346fdedb03ae6d7c2bab.tar.gz
audio/musicmanager: Fixed for bash4.
-rw-r--r--audio/musicmanager/musicmanager.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/musicmanager/musicmanager.SlackBuild b/audio/musicmanager/musicmanager.SlackBuild
index 5e56144e00..fdf61fab53 100644
--- a/audio/musicmanager/musicmanager.SlackBuild
+++ b/audio/musicmanager/musicmanager.SlackBuild
@@ -70,12 +70,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 AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION