summaryrefslogtreecommitdiff
path: root/libraries/libmikmod/libmikmod.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:41 -0400
commit06fc26dd97af0f66f8acd1d6d3f3dab3f4483389 (patch)
tree75cd6d73d6b1060291b3e9ee996ae520f100cfef /libraries/libmikmod/libmikmod.SlackBuild
parent1080d60465dbb910d52d8f3914a3debefb7c9212 (diff)
downloadslackbuilds-06fc26dd97af0f66f8acd1d6d3f3dab3f4483389.tar.gz
libraries/libmikmod: Fixed for bash4.
Diffstat (limited to 'libraries/libmikmod/libmikmod.SlackBuild')
-rw-r--r--libraries/libmikmod/libmikmod.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libmikmod/libmikmod.SlackBuild b/libraries/libmikmod/libmikmod.SlackBuild
index ac02a11205..8120d5dbdf 100644
--- a/libraries/libmikmod/libmikmod.SlackBuild
+++ b/libraries/libmikmod/libmikmod.SlackBuild
@@ -55,12 +55,8 @@ CFLAGS="$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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;