properly escape compiler path in .sh.cpp tests

llvm-svn: 294718
This commit is contained in:
Eric Fiselier 2017-02-10 06:38:02 +00:00
parent 6c97b3acda
commit 7b9da0c480
1 changed files with 1 additions and 1 deletions

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])