Skip to content
Snippets Groups Projects
Unverified Commit e6381386 authored by Christophe Monniez's avatar Christophe Monniez
Browse files

[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.
parent 6f6f3a44
Branches
Tags
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment