summaryrefslogtreecommitdiff
path: root/office/antiword
diff options
context:
space:
mode:
Diffstat (limited to 'office/antiword')
-rw-r--r--office/antiword/antiword.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/antiword/antiword.SlackBuild b/office/antiword/antiword.SlackBuild
index 7d572e6eaf..81fee703ff 100644
--- a/office/antiword/antiword.SlackBuild
+++ b/office/antiword/antiword.SlackBuild
@@ -65,12 +65,8 @@ make \
GLOBAL_INSTALL_DIR=/usr/bin \
DESTDIR=$PKG
-( 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
# The man page is NOT installed correctly. Copy it manually ...
mkdir -p $PKG/usr/man/man1