Skip to content

Commit

Permalink
Restore lost "is_absolute" (#2922)
Browse files Browse the repository at this point in the history
`is_absolute` was lost for "=" case in #2911

Fixes  #2917
  • Loading branch information
vitalybuka authored Oct 6, 2024
1 parent 7dff491 commit 2a85e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo/private/cargo_build_script.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _pwd_flags(args):
fix_next_arg = False
else:
opt, path = split_flag(arg)
if opt and path:
if opt and path and not paths.is_absolute(path):
res.append("{}${{pwd}}/{}".format(opt, path))
else:
fix_next_arg = (opt != None)
Expand Down

0 comments on commit 2a85e13

Please sign in to comment.