Skip to content

Commit

Permalink
[FIX] package: remove unwanted char from install path
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
d-fence committed Oct 9, 2017
1 parent 6f6f3a4 commit e638138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def run(self):
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:
Expand Down

0 comments on commit e638138

Please sign in to comment.