aboutsummaryrefslogtreecommitdiff
path: root/libraries/perl-digest-sha1
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/perl-digest-sha1')
-rw-r--r--libraries/perl-digest-sha1/perl-digest-sha1.SlackBuild6
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 acdd4460398f..2bc63592c25e 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