Skip to content
Snippets Groups Projects
Commit 1a6be4eb authored by CG Linden's avatar CG Linden
Browse files

Quote any backslashes so they get preserved when invoking python.

parent 7eafa320
No related branches found
No related tags found
No related merge requests found
...@@ -398,6 +398,8 @@ def package_finish(self): ...@@ -398,6 +398,8 @@ def package_finish(self):
sign_py = os.path.expandvars("${SIGN}") sign_py = os.path.expandvars("${SIGN}")
if not sign_py or sign_py == "${SIGN}": if not sign_py or sign_py == "${SIGN}":
sign_py = 'C:\\buildscripts\\code-signing\\sign.py' sign_py = 'C:\\buildscripts\\code-signing\\sign.py'
else:
sign_py = sign_py.replace('\\', '\\\\')
python = os.path.expandvars("${PYTHON}") python = os.path.expandvars("${PYTHON}")
if not python or python == "${PYTHON}": if not python or python == "${PYTHON}":
python = 'python' python = 'python'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment