Skip to content

Commit a108ca8

Browse files
committed
mx_graalpython.py: update_import_cmd, fix update imports when dirs exist
1 parent 561642b commit a108ca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,8 @@ def update_import_cmd(args):
17811781
join(overlaydir, "python", "graal", "common.json"))
17821782
shutil.copytree(
17831783
join(mx.suite("truffle").dir, "..", "ci"),
1784-
join(overlaydir, "python", "graal", "ci"))
1784+
join(overlaydir, "python", "graal", "ci"),
1785+
dirs_exist_ok=True)
17851786

17861787
# update the graal-enterprise revision in the overlay (used by benchmarks)
17871788
with open(join(overlaydir, "python", "imported-constants.json"), 'w') as fp:

0 commit comments

Comments
 (0)