summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/cksfv/cksfv.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild
index c746fb3fc1..6668430c3f 100644
--- a/misc/cksfv/cksfv.SlackBuild
+++ b/misc/cksfv/cksfv.SlackBuild
@@ -67,10 +67,8 @@ CFLAGS="$SLKCFLAGS" \
make
make install
-( 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 {} \;