]> granicus.if.org Git - clang/commitdiff
Reinstate quotes around the path to python that I accidentaly removed in r335330
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 22 Jun 2018 20:03:32 +0000 (20:03 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 22 Jun 2018 20:03:32 +0000 (20:03 +0000)
This broke users with spaces in the path, like C:\Program Files\Python

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335382 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg.py

index 5b11691f4475842ef9cd0353ede2539d004d4255..ad30988c17961279d53dc47f9844ffb2943cfe39 100644 (file)
@@ -70,7 +70,7 @@ if config.clang_examples:
 llvm_config.add_tool_substitutions(tools, tool_dirs)
 
 config.substitutions.append(
-    ('%hmaptool', '%s %s' % (config.python_executable,
+    ('%hmaptool', "'%s' %s" % (config.python_executable,
                              os.path.join(config.llvm_tools_dir, 'hmaptool'))))
 
 # Plugins (loadable modules)