summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:18 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:18 -0400
commit22bd8a6134026b6527d8d7075bba713089a21eb0 (patch)
treef3236f75eff6b4fb0752ef6571fbd1ceafca2ef0
parent7c616577a746d8b67d5b42065b3320dec37ce81b (diff)
downloadslackbuilds-22bd8a6134026b6527d8d7075bba713089a21eb0.tar.gz
audio/mp3splt-gtk: Fixed for bash4.
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index fe944530be..c8be626142 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -56,12 +56,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 ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \