diff options
author | Martin Storsjö <martin@martin.st> | 2021-03-04 10:37:02 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-03-25 09:46:44 +0200 |
commit | b8b23aa80eefe84187d6ba364d06496c90c53bdb (patch) | |
tree | 4d9478892465caae4c8c694c9cac7a9a639e9a91 /llvm/lib/BinaryFormat/Magic.cpp | |
parent | a88556733a4dced22416bd3f45255128b9eb4f49 (diff) | |
download | llvm-b8b23aa80eefe84187d6ba364d06496c90c53bdb.zip llvm-b8b23aa80eefe84187d6ba364d06496c90c53bdb.tar.gz llvm-b8b23aa80eefe84187d6ba364d06496c90c53bdb.tar.bz2 |
[libcxx] [test] Quote env variables that are set with a shell "export" in ssh.py
This safeguards against cases if some of the env vars contain chars
that are problematic for shells, e.g. if called with --env "X=Y;Z".
(In cases of cross testing for windows, the PATH variable can end up
specified with semicolon separators - even if specifying a PATH when
cross testing in such differing environments might not make sense or
do anything - but this makes ssh.py not break on such a variable.)
Differential Revision: https://reviews.llvm.org/D99242
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions