properly escape compiler path in .sh.cpp tests

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-02-10 06:38:02 +00:00
parent b9eccbec08
commit f3078f63a9

View File

@@ -892,7 +892,7 @@ class Configuration(object):
def configure_substitutions(self):
sub = self.config.substitutions
# Configure compiler substitutions
sub.append(('%cxx', self.cxx.path))
sub.append(('%cxx', pipes.quote(self.cxx.path)))
# Configure flags substitutions
flags_str = ' '.join([pipes.quote(f) for f in self.cxx.flags])
compile_flags_str = ' '.join([pipes.quote(f) for f in self.cxx.compile_flags])