diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-05-22 11:37:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-22 11:37:43 -0400 |
| commit | b392cdf7de4cd8413f24ce77bf04dd646a60d79d (patch) | |
| tree | e5bb27cf96f011cdd4f12b3fbc5471bb1241875d | |
| parent | b4c17d43a684691569bc45e3820d7ffe646fa09d (diff) | |
| parent | 1532fd8cd0db93f469e414f9da31ef083a44fcba (diff) | |
| download | rust-b392cdf7de4cd8413f24ce77bf04dd646a60d79d.tar.gz rust-b392cdf7de4cd8413f24ce77bf04dd646a60d79d.zip | |
Rollup merge of #97280 - yue4u:quote-replace-target-in-bootstrap-configure, r=Mark-Simulacrum
Quote replace target in bootstrap configure close #97263
| -rwxr-xr-x | src/bootstrap/configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py index 87a130a0982..2fc036082cb 100755 --- a/src/bootstrap/configure.py +++ b/src/bootstrap/configure.py @@ -407,7 +407,7 @@ if 'target' in config: configured_targets.append(target) for target in configured_targets: targets[target] = sections['target'][:] - targets[target][0] = targets[target][0].replace("x86_64-unknown-linux-gnu", target) + targets[target][0] = targets[target][0].replace("x86_64-unknown-linux-gnu", "'{}'".format(target)) def is_number(value): |
