summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCG Linden <cg@lindenlab.com>2009-08-31 20:09:56 -0700
committerCG Linden <cg@lindenlab.com>2009-08-31 20:09:56 -0700
commit1a6be4eb17372273b74fd9b849799372f23a15e9 (patch)
tree85bcd6ceeedb2a006346ee014c9f154a7c2dd391
parent7eafa3209c6b8a7ef9b7d677943752f5345ff3f2 (diff)
Quote any backslashes so they get preserved when invoking python.
-rwxr-xr-xindra/newview/viewer_manifest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 66ebd607c4..024f2f655c 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -398,6 +398,8 @@ class WindowsManifest(ViewerManifest):
sign_py = os.path.expandvars("${SIGN}")
if not sign_py or sign_py == "${SIGN}":
sign_py = 'C:\\buildscripts\\code-signing\\sign.py'
+ else:
+ sign_py = sign_py.replace('\\', '\\\\')
python = os.path.expandvars("${PYTHON}")
if not python or python == "${PYTHON}":
python = 'python'