aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:46 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:46 -0400
commita5f5c944be95adad2a12bee8ac2a10301f9fd486 (patch)
tree3c1f2102d2a06983dfdc6b6948be7b2a9a695949 /libraries
parent9181e18d37379b8af785e686ceabd82adb46a62e (diff)
libraries/libmusicbrainz: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libmusicbrainz/libmusicbrainz.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
index 3e93f755ae385..3dc4fa61e1c73 100644
--- a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
+++ b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
@@ -54,12 +54,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
-)
+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 \