Restore lost "is_absolute" (#2922)

`is_absolute` was lost for "=" case in #2911

Fixes  #2917
This commit is contained in:
Vitaly Buka 2024-10-06 16:40:15 -07:00 committed by GitHub
parent 7dff4915c5
commit 2a85e13c74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)