aboutsummaryrefslogtreecommitdiff
path: root/system/pv
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:17 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:17 -0400
commitdcac973c45facd750c31dbe1fdd2431cc5004da9 (patch)
tree2de3f952d435220f6e0ab049870bf8f672e10218 /system/pv
parentb4b47a21398e208dce4fda257883a5b00c82aac7 (diff)
system/pv: Fixed for bash4.
Diffstat (limited to 'system/pv')
-rw-r--r--system/pv/pv.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/pv/pv.SlackBuild b/system/pv/pv.SlackBuild
index 91e2ca313214b..2357d9168b299 100644
--- a/system/pv/pv.SlackBuild
+++ b/system/pv/pv.SlackBuild
@@ -65,12 +65,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
-)
+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 {} \;