aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:58 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:58 -0400
commit2c204dbdf44873817f71fd26cfe0cfd19b7fba08 (patch)
tree59da71478ac1bce5b20db04762c0c5fafebb6bce /multimedia
parente1cdfeb926e3ca3379c8e7b432fc57053e1a1a45 (diff)
multimedia/linuxsampler: Fixed for bash4.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/linuxsampler/linuxsampler.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/linuxsampler/linuxsampler.SlackBuild b/multimedia/linuxsampler/linuxsampler.SlackBuild
index 4d96731d4e23e..faf417c3d00f7 100644
--- a/multimedia/linuxsampler/linuxsampler.SlackBuild
+++ b/multimedia/linuxsampler/linuxsampler.SlackBuild
@@ -55,12 +55,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 || 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;