summaryrefslogtreecommitdiff
path: root/system/lrzip
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:35 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:35 -0400
commitf30bcb6d330d0c948994a3fe4c01ddb711fdb40d (patch)
tree8b7861f974c9064b102891af5b05cae30c51b875 /system/lrzip
parent62cc261182759c5e89cd540816337e29822bffdd (diff)
downloadslackbuilds-f30bcb6d330d0c948994a3fe4c01ddb711fdb40d.tar.gz
system/lrzip: Fixed for bash4.
Diffstat (limited to 'system/lrzip')
-rw-r--r--system/lrzip/lrzip.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/lrzip/lrzip.SlackBuild b/system/lrzip/lrzip.SlackBuild
index 99b00b001e..3b46fad477 100644
--- a/system/lrzip/lrzip.SlackBuild
+++ b/system/lrzip/lrzip.SlackBuild
@@ -53,12 +53,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 || 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 {} \;