summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/openerp-client/files')
-rwxr-xr-xapp-office/openerp-client/files/openerp-client4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-office/openerp-client/files/openerp-client b/app-office/openerp-client/files/openerp-client
new file mode 100755
index 000000000000..679bfaab6a1b
--- /dev/null
+++ b/app-office/openerp-client/files/openerp-client
@@ -0,0 +1,4 @@
+#!/bin/sh
+PYTHONDIR=$(python -c 'from distutils.sysconfig import get_config_var; print(get_config_var("LIBP"))')
+cd "${PYTHONDIR}/site-packages/openerp-client"
+exec /usr/bin/python ./openerp-client.py $@ \ No newline at end of file