summaryrefslogtreecommitdiff
path: root/libraries/perl-html-parser
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:49 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:49 -0400
commitb8f141f36bd1860b93b42ddfb22f03e19ecf3883 (patch)
treefa39a4b7b03c897af63344816248f5b3c8a0d4ba /libraries/perl-html-parser
parentca474b62e47e6a6550f00e8ed41d415db19cdcb9 (diff)
downloadslackbuilds-b8f141f36bd1860b93b42ddfb22f03e19ecf3883.tar.gz
libraries/perl-html-parser: Fixed for bash4.
Diffstat (limited to 'libraries/perl-html-parser')
-rw-r--r--libraries/perl-html-parser/perl-html-parser.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/perl-html-parser/perl-html-parser.SlackBuild b/libraries/perl-html-parser/perl-html-parser.SlackBuild
index a9cd19be9e..09105ebdd1 100644
--- a/libraries/perl-html-parser/perl-html-parser.SlackBuild
+++ b/libraries/perl-html-parser/perl-html-parser.SlackBuild
@@ -78,10 +78,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