summaryrefslogtreecommitdiff
path: root/system/conserver
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:14 -0400
commit5233019a8e97a5cf7310f45dff3d62da66e6dbe4 (patch)
tree63014419c8d12f81e5ba767b1425edb353379633 /system/conserver
parent222199aa1aaca7410571ed6d5215402426586598 (diff)
downloadslackbuilds-5233019a8e97a5cf7310f45dff3d62da66e6dbe4.tar.gz
system/conserver: Fixed for bash4.
Diffstat (limited to 'system/conserver')
-rw-r--r--system/conserver/conserver.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/conserver/conserver.SlackBuild b/system/conserver/conserver.SlackBuild
index 2fc521fab0..ce985c2276 100644
--- a/system/conserver/conserver.SlackBuild
+++ b/system/conserver/conserver.SlackBuild
@@ -56,12 +56,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 {} \;