mirror of https://github.com/bazelbuild/rules_rust
Restore lost "is_absolute" (#2922)
`is_absolute` was lost for "=" case in #2911 Fixes #2917
This commit is contained in:
parent
7dff4915c5
commit
2a85e13c74
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue