Skip to content

Commit ea0b4ed

Browse files
committed
fix: use runfiles_root_path in stage2 bootstrap
1 parent d31ec0d commit ea0b4ed

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

python/private/py_executable.bzl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -768,10 +768,7 @@ def _create_stage1_bootstrap(
768768
}
769769

770770
if stage2_bootstrap:
771-
subs["%stage2_bootstrap%"] = "{}/{}".format(
772-
ctx.workspace_name,
773-
stage2_bootstrap.short_path,
774-
)
771+
subs["%stage2_bootstrap%"] = runfiles_root_path(ctx, stage2_bootstrap.short_path)
775772
template = runtime.bootstrap_template
776773
subs["%shebang%"] = runtime.stub_shebang
777774
elif not ctx.files.srcs:

0 commit comments

Comments
 (0)