aboutsummaryrefslogtreecommitdiff
path: root/system/pcp/pcp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pcp/pcp.SlackBuild')
-rw-r--r--system/pcp/pcp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/pcp/pcp.SlackBuild b/system/pcp/pcp.SlackBuild
index 941f80a9d726..168c13883223 100644
--- a/system/pcp/pcp.SlackBuild
+++ b/system/pcp/pcp.SlackBuild
@@ -74,12 +74,8 @@ mv $PKG/etc/rc.d/pmproxy $PKG/etc/rc.d/pmproxy.new
# Install the init scripts non-executable by default
chmod 0644 $PKG/etc/rc.d/*
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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 {} \;