summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: