Skip to content

Commit b392cdf

Browse files
authored
Rollup merge of #97280 - yue4u:quote-replace-target-in-bootstrap-configure, r=Mark-Simulacrum
Quote replace target in bootstrap configure close #97263
2 parents b4c17d4 + 1532fd8 commit b392cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def set(key, value):
407407
configured_targets.append(target)
408408
for target in configured_targets:
409409
targets[target] = sections['target'][:]
410-
targets[target][0] = targets[target][0].replace("x86_64-unknown-linux-gnu", target)
410+
targets[target][0] = targets[target][0].replace("x86_64-unknown-linux-gnu", "'{}'".format(target))
411411

412412

413413
def is_number(value):

0 commit comments

Comments
 (0)