summaryrefslogtreecommitdiff
path: root/libraries/confuse/confuse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/confuse/confuse.SlackBuild')
-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 492b5fdbe8..f6a2b5d4f9 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/