aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:47 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:47 -0400
commitcbe529a413c7c180e92e258edc2b64f5c2545e02 (patch)
tree7a64bbe5cc87829bc34d6eeaca32fe6f2b679916
parenta5f5c944be95adad2a12bee8ac2a10301f9fd486 (diff)
libraries/libmusicbrainz3: Fixed for bash4.
-rw-r--r--libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
index 26e53edae4bf..05532cf50f3d 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