diff options
| author | Christophe Monniez <moc@odoo.com> | 2017-10-06 13:37:18 +0200 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2017-10-09 08:59:18 +0200 |
| commit | e63813864a5922115a61052b4fa469921c706e64 (patch) | |
| tree | fa92d3b325fc00f30a76e4c191058fc3c91fa666 | |
| parent | 6f6f3a44e63213a9d812fc480ac37a537efa5a05 (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.
| -rwxr-xr-x | setup/package.py | 2 |
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: |
