summaryrefslogtreecommitdiff
path: root/audio/xmms2/xmms2.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:36 -0400
commit0215c104e517d7cda166bfbc674468c1401cd42c (patch)
treed7f0a4dbc0b49b0d7fb090f8a5702fa383e714ec /audio/xmms2/xmms2.SlackBuild
parent22e92852d3b7d929e8474e2a6708d261d614f701 (diff)
downloadslackbuilds-0215c104e517d7cda166bfbc674468c1401cd42c.tar.gz
audio/xmms2: Fixed for bash4.
Diffstat (limited to 'audio/xmms2/xmms2.SlackBuild')
-rw-r--r--audio/xmms2/xmms2.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/xmms2/xmms2.SlackBuild b/audio/xmms2/xmms2.SlackBuild
index ceef2441b9..07109db59f 100644
--- a/audio/xmms2/xmms2.SlackBuild
+++ b/audio/xmms2/xmms2.SlackBuild
@@ -53,12 +53,8 @@ export CXXFLAGS="$SLKCFLAGS"
./waf build
./waf 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 COPYING* INSTALL README TODO \