aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:14 -0400
commitc2b64564689fb40965e3684a67849158703812ba (patch)
tree6ccfec722fdc32fbce355bbf4007f3826dd4c7cb
parent89a8053d9d30dd7f7713f67c78c619c6dafe5c32 (diff)
audio/mac: Fixed for bash4.
-rw-r--r--audio/mac/mac.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/mac/mac.SlackBuild b/audio/mac/mac.SlackBuild
index da0c4edf4c0b7..0aa6c043a5e22 100644
--- a/audio/mac/mac.SlackBuild
+++ b/audio/mac/mac.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 AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION