summaryrefslogtreecommitdiff
path: root/audio/deadbeef/deadbeef.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:05 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:05 -0400
commitce3028789ac54e2b03bf2da5fce59ff882142df1 (patch)
tree7ebe2aab6eb06accdeec1a57e4db3ae71b69c956 /audio/deadbeef/deadbeef.SlackBuild
parent5e3d3c54a746d5eb0b4a7218d4d32060f32add59 (diff)
downloadslackbuilds-ce3028789ac54e2b03bf2da5fce59ff882142df1.tar.gz
audio/deadbeef: Fixed for bash4.
Diffstat (limited to 'audio/deadbeef/deadbeef.SlackBuild')
-rw-r--r--audio/deadbeef/deadbeef.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/deadbeef/deadbeef.SlackBuild b/audio/deadbeef/deadbeef.SlackBuild
index b1caf9c7b3..00ae4cc1a6 100644
--- a/audio/deadbeef/deadbeef.SlackBuild
+++ b/audio/deadbeef/deadbeef.SlackBuild
@@ -68,12 +68,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
cp -a AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild