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:
@@ -892,7 +892,7 @@ class Configuration(object):
|
|||||||
def configure_substitutions(self):
|
def configure_substitutions(self):
|
||||||
sub = self.config.substitutions
|
sub = self.config.substitutions
|
||||||
# Configure compiler substitutions
|
# Configure compiler substitutions
|
||||||
sub.append(('%cxx', self.cxx.path))
|
sub.append(('%cxx', pipes.quote(self.cxx.path)))
|
||||||
# Configure flags substitutions
|
# Configure flags substitutions
|
||||||
flags_str = ' '.join([pipes.quote(f) for f in self.cxx.flags])
|
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])
|
compile_flags_str = ' '.join([pipes.quote(f) for f in self.cxx.compile_flags])
|
||||||
|
|||||||
Reference in New Issue
Block a user