summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:56 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:56 -0400
commit6d440b92178d4c1ffd16ddf8159c2344e9dc25ef (patch)
tree4c972851a13190b47cf9d5be06ab6e4d57be0388 /office
parentfd08e85e1f12d6b2e9a9bb5bfb8dc0e1d5ef2e24 (diff)
downloadslackbuilds-6d440b92178d4c1ffd16ddf8159c2344e9dc25ef.tar.gz
slackbuilds-6d440b92178d4c1ffd16ddf8159c2344e9dc25ef.tar.xz
office/antiword: Fixed for bash4.
Diffstat (limited to 'office')
-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