diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:37:42 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:37:42 -0400 |
commit | 9ce68d494cb029e5674c4712b1a4468b12b2e396 (patch) | |
tree | 4d9cbfbdb1cf53d5d3efcae7921ff427a421a6ad /libraries/libmimedir | |
parent | 06fc26dd97af0f66f8acd1d6d3f3dab3f4483389 (diff) |
libraries/libmimedir: Fixed for bash4.
Diffstat (limited to 'libraries/libmimedir')
-rw-r--r-- | libraries/libmimedir/libmimedir.SlackBuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libraries/libmimedir/libmimedir.SlackBuild b/libraries/libmimedir/libmimedir.SlackBuild index 795ad0b076d18..08b114e978881 100644 --- a/libraries/libmimedir/libmimedir.SlackBuild +++ b/libraries/libmimedir/libmimedir.SlackBuild @@ -54,13 +54,8 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . -name "*.a" -exec strip -g {} \; 2>/dev/null || true - 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 {} \; |