Skip to content

Commit

Permalink
Quote replace target in bootstrap configure
Browse files Browse the repository at this point in the history
  • Loading branch information
yue4u committed May 22, 2022
1 parent 6534637 commit 1532fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def set(key, value):
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):
Expand Down

0 comments on commit 1532fd8

Please sign in to comment.