aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/confuse/confuse.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/confuse/confuse.SlackBuild b/libraries/confuse/confuse.SlackBuild
index 492b5fdbe86f4..f6a2b5d4f9220 100644
--- a/libraries/confuse/confuse.SlackBuild
+++ b/libraries/confuse/confuse.SlackBuild
@@ -68,10 +68,8 @@ CFLAGS="-Wno-unused $SLKCFLAGS" \
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-( cd $PKG
- 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/man3
cp -a doc/man/man3/* $PKG/usr/man/man3/