aboutsummaryrefslogtreecommitdiff
path: root/audio/mhwaveedit/mhwaveedit.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:15 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:15 -0400
commit225dc8fb73cd7cc19f8a1bba69803c1e2db0789d (patch)
tree5a4d1b8caa6ea69a8f5d43fb1e46b8478589919f /audio/mhwaveedit/mhwaveedit.SlackBuild
parentc2b64564689fb40965e3684a67849158703812ba (diff)
audio/mhwaveedit: Fixed for bash4.
Diffstat (limited to 'audio/mhwaveedit/mhwaveedit.SlackBuild')
-rw-r--r--audio/mhwaveedit/mhwaveedit.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mhwaveedit/mhwaveedit.SlackBuild b/audio/mhwaveedit/mhwaveedit.SlackBuild
index 7a71076257f3..ca1d286452c8 100644
--- a/audio/mhwaveedit/mhwaveedit.SlackBuild
+++ b/audio/mhwaveedit/mhwaveedit.SlackBuild
@@ -53,12 +53,8 @@ CFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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/$PKGNAME-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \