aboutsummaryrefslogtreecommitdiff
path: root/business/openerp-client/openerp-client.SlackBuild
diff options
context:
space:
mode:
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 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