summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:16 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:16 -0400
commit8bbe974229811ed3747f5472e1f7d09def29a633 (patch)
tree7dfe293b50a27a145cfa72edb8afe09bd0e04a70
parent225dc8fb73cd7cc19f8a1bba69803c1e2db0789d (diff)
downloadslackbuilds-8bbe974229811ed3747f5472e1f7d09def29a633.tar.gz
slackbuilds-8bbe974229811ed3747f5472e1f7d09def29a633.tar.xz
audio/milkytracker: Fixed for bash4.
-rw-r--r--audio/milkytracker/milkytracker.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/milkytracker/milkytracker.SlackBuild b/audio/milkytracker/milkytracker.SlackBuild
index c23edc91a9..9ca5cf4d8f 100644
--- a/audio/milkytracker/milkytracker.SlackBuild
+++ b/audio/milkytracker/milkytracker.SlackBuild
@@ -64,12 +64,8 @@ cp resources/pictures/carton.png $PKG/usr/share/pixmaps/milkytracker-icon-128.pn
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( 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/install
cat $CWD/slack-desc > $PKG/install/slack-desc