summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-06-16 20:29:09 (GMT)
committerEvan Martin <martine@danga.com>2012-06-16 20:29:09 (GMT)
commit1a871421636092f11af288fa441412654edda49f (patch)
tree6c55249f43011fa06ac85c9e598c0c98d15d177e /configure.py
parenta08b8c8344ca2eae02539e2a6f702dcfd197091c (diff)
downloadNinja-1a871421636092f11af288fa441412654edda49f.zip
Ninja-1a871421636092f11af288fa441412654edda49f.tar.gz
Ninja-1a871421636092f11af288fa441412654edda49f.tar.bz2
fix quoting thinko
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index ef0622f..5329708 100755
--- a/configure.py
+++ b/configure.py
@@ -153,7 +153,7 @@ def shell_escape(str):
# TODO: do the appropriate thing for Windows-style cmd here, perhaps by
# just returning the input string.
if '"' in str:
- return "'%s'" % str.replace("'", "\'")
+ return "'%s'" % str.replace("'", "\\'")
return str
if 'CFLAGS' in configure_env: