diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:46 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:46 -0400 |
commit | 0767af84d501bc883c1e8f9c3b58ae68fdc20a34 (patch) | |
tree | 57b75114aacec6fd717622bee34905f1f44fd697 /libraries | |
parent | ccac84288d6e01921dce77dfbeeed66d5c6c9adb (diff) |
libraries/perl-digest-sha1: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild b/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild index acdd4460398f8..2bc63592c25e8 100644 --- a/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild +++ b/libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild @@ -82,10 +82,8 @@ mv $PKG/usr/share/man $PKG/usr/ find $PKG -depth -type d -empty -exec rm -rf {} \; # strip libraries -( cd $PKG - 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 # compress man pages ( cd $PKG/usr/man |