summaryrefslogtreecommitdiffstats
path: root/business/openerp-client/openerp-client.SlackBuild
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:38 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:38 -0400
commit4410a68753c827a8d451be083dae8ba1762205bb (patch)
tree7f06b018f921b8922d2894ef4c9ac31718875662 /business/openerp-client/openerp-client.SlackBuild
parent81cd367e5cc7a72bb8b3fed4bc05b59001af2316 (diff)
downloadslackbuilds-4410a68753c827a8d451be083dae8ba1762205bb.tar.gz
slackbuilds-4410a68753c827a8d451be083dae8ba1762205bb.tar.xz
business/openerp-client: Fixed for bash4.
Diffstat (limited to 'business/openerp-client/openerp-client.SlackBuild')
-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 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