aboutsummaryrefslogtreecommitdiff
path: root/business
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:38 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:38 -0400
commit4410a68753c827a8d451be083dae8ba1762205bb (patch)
tree7f06b018f921b8922d2894ef4c9ac31718875662 /business
parent81cd367e5cc7a72bb8b3fed4bc05b59001af2316 (diff)
business/openerp-client: Fixed for bash4.
Diffstat (limited to 'business')
-rw-r--r--business/openerp-client/openerp-client.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/business/openerp-client/openerp-client.SlackBuild b/business/openerp-client/openerp-client.SlackBuild
index b81b5311a010..23b48bb3dba2 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