summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2017-10-06 13:37:18 +0200
committerChristophe Monniez <moc@odoo.com>2017-10-09 08:59:18 +0200
commite63813864a5922115a61052b4fa469921c706e64 (patch)
treefa92d3b325fc00f30a76e4c191058fc3c91fa666 /setup
parent6f6f3a44e63213a9d812fc480ac37a537efa5a05 (diff)
[FIX] package: remove unwanted char from install path
Purpose: When installing postgresql under windows, the '+' character is unallowed. This was creating a bug when using the windows installer the enterprise version which derivate the install path from the version number.
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/package.py b/setup/package.py
index 56805d14683..3fcb96aed92 100755
--- a/setup/package.py
+++ b/setup/package.py
@@ -216,7 +216,7 @@ class KVM(object):
class KVMWinBuildExe(KVM):
def run(self):
with open(join(self.o.build_dir, 'setup/win32/Makefile.version'), 'w') as f:
- f.write("VERSION=%s\n" % version.replace('~', '_'))
+ f.write("VERSION=%s\n" % version.replace('~', '_').replace('+', ''))
with open(join(self.o.build_dir, 'setup/win32/Makefile.python'), 'w') as f:
f.write("PYTHON_VERSION=%s\n" % self.o.vm_winxp_python_version.replace('.', ''))
with open(join(self.o.build_dir, 'setup/win32/Makefile.servicename'), 'w') as f: