summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/bsdsfv/bsdsfv.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild
index dab49c6d1b..c71c3e6534 100644
--- a/misc/bsdsfv/bsdsfv.SlackBuild
+++ b/misc/bsdsfv/bsdsfv.SlackBuild
@@ -62,10 +62,8 @@ fi
make CFLAGS="$SLKCFLAGS -Wall" || exit 1
make INSTALL_PREFIX=$PKG/usr install || exit 1
-( 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
mkdir -p $PKG/usr/man/man1
cp MANUAL $PKG/usr/man/man1/bsdsfv.1