From cbe529a413c7c180e92e258edc2b64f5c2545e02 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:37:47 -0400 Subject: libraries/libmusicbrainz3: Fixed for bash4. --- libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild index 26e53edae4..05532cf50f 100644 --- a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild +++ b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild @@ -56,12 +56,8 @@ mkdir build && cd build make install DESTDIR=$PKG cd - -( 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3