summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:58 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:58 -0400
commit286fd7f3f306fcb354c1b2356c5b94c656918bba (patch)
tree415a44b0d98e7ab3a19295cc2d3567d66e14f300
parent0dbb6faf4897d57d94720887ccc06e6b175e50b3 (diff)
downloadslackbuilds-286fd7f3f306fcb354c1b2356c5b94c656918bba.tar.gz
audio/SimpleSysexxer: Fixed for bash4.
-rw-r--r--audio/SimpleSysexxer/SimpleSysexxer.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild b/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild
index 75a115c28f..aa9dcc37a0 100644
--- a/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild
+++ b/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild
@@ -55,12 +55,8 @@ make install DESTDIR=$PKG INSTALL_ROOT=$PKG
cat $CWD/simplesysexxer.desktop > \
$PKG/usr/share/applications/simplesysexxer.desktop
-( 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 GPL-2 BUILDING CHANGELOG COPYRIGHT CREDITS $PKG/usr/doc/$PRGNAM-$VERSION