diff options
author | Raul Tambre <raul@tambre.ee> | 2021-01-10 10:40:56 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-01-11 17:54:18 (GMT) |
commit | e6e7f2cab96066b5e7f595177a59ea1461608201 (patch) | |
tree | 381d92cb4985aec5eb5e4fbe4f2e45a38a055759 /Source | |
parent | fb797841362e3eeec4ce18bf53473dd6ebb33363 (diff) | |
download | CMake-e6e7f2cab96066b5e7f595177a59ea1461608201.zip CMake-e6e7f2cab96066b5e7f595177a59ea1461608201.tar.gz CMake-e6e7f2cab96066b5e7f595177a59ea1461608201.tar.bz2 |
cmMakefile: Don't expand bracket arguments in --trace-expand
Bracket arguments are literal and shouldn't be expanded.
Fixes #21671.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 0e4f888..3946841 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -308,7 +308,7 @@ void cmMakefile::PrintCommandTrace( args.reserve(lff.Arguments().size()); for (cmListFileArgument const& arg : lff.Arguments()) { - if (expand) { + if (expand && arg.Delim != cmListFileArgument::Bracket) { temp = arg.Value; this->ExpandVariablesInString(temp); args.push_back(temp); |