summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:41 -0400
commitc45f87959479a8888491ea740251febccd9c4c8d (patch)
tree3820266dfc9d249ff143f03eace438c666efa9a8
parent72b9379951ab97d9c4011a79834384efa7900656 (diff)
downloadslackbuilds-c45f87959479a8888491ea740251febccd9c4c8d.tar.gz
libraries/perl-IO-stringy: Fixed for bash4.
-rw-r--r--libraries/perl-IO-stringy/perl-IO-stringy.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/perl-IO-stringy/perl-IO-stringy.SlackBuild b/libraries/perl-IO-stringy/perl-IO-stringy.SlackBuild
index 6ba1909992..15dcc0fdbe 100644
--- a/libraries/perl-IO-stringy/perl-IO-stringy.SlackBuild
+++ b/libraries/perl-IO-stringy/perl-IO-stringy.SlackBuild
@@ -84,12 +84,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
-( 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 || true
-)
+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 {} \;