From 6d440b92178d4c1ffd16ddf8159c2344e9dc25ef Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:46:56 -0400 Subject: office/antiword: Fixed for bash4. --- office/antiword/antiword.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'office/antiword') diff --git a/office/antiword/antiword.SlackBuild b/office/antiword/antiword.SlackBuild index 7d572e6eaf43..81fee703ff33 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 -- cgit v1.2.3