aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:09 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:09 -0400
commit00538da1dd7d8ed2ef39fe8400541588c62cb414 (patch)
tree79da24e5ce3d21e7871d64e6b28cd5c856759ced
parent3d8bb32b9d8d5fc3eed74e3b1c5a2fabff25b1ea (diff)
multimedia/mscore: Fixed for bash4.
-rw-r--r--multimedia/mscore/mscore.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/mscore/mscore.SlackBuild b/multimedia/mscore/mscore.SlackBuild
index 92fb93b3ede63..16337a6bd3d4c 100644
--- a/multimedia/mscore/mscore.SlackBuild
+++ b/multimedia/mscore/mscore.SlackBuild
@@ -66,12 +66,8 @@ mkdir build && cd build
make install DESTDIR=$PKG
cd -
-( 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/man/man1
gzip -9c packaging/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz