From 4410a68753c827a8d451be083dae8ba1762205bb Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:31:38 -0400 Subject: [PATCH] business/openerp-client: Fixed for bash4. --- business/openerp-client/openerp-client.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/openerp-client/openerp-client.SlackBuild b/business/openerp-client/openerp-client.SlackBuild index b81b5311a0..23b48bb3db 100644 --- a/business/openerp-client/openerp-client.SlackBuild +++ b/business/openerp-client/openerp-client.SlackBuild @@ -56,8 +56,8 @@ sed -i "s|$PKG||g" $PKG/usr/bin/openerp-client mkdir -p $PKG/usr/share/applications cp -f $CWD/openerp-client.desktop $PKG/usr/share/applications/ -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \ - | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mv $PKG/usr/share/man $PKG/usr rm -rf $PKG/usr/share/man