Skip to content

Commit

Permalink
Revert "Restore lost "is_absolute" (bazelbuild#2922)"
Browse files Browse the repository at this point in the history
This reverts commit 2a85e13.
  • Loading branch information
UebelAndre committed Oct 7, 2024
1 parent 2a85e13 commit 7a322f4
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 and not paths.is_absolute(path):
if opt and path:
res.append("{}${{pwd}}/{}".format(opt, path))
else:
fix_next_arg = (opt != None)
Expand Down

0 comments on commit 7a322f4

Please sign in to comment.