forked from Mirror/pmbootstrap
core: move args.log to context.log (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
838beb270d
commit
02f04ba3a8
6 changed files with 28 additions and 15 deletions
|
@ -92,7 +92,7 @@ def replace_placeholders(args: PmbArgs):
|
|||
setattr(args, key, old.replace("$WORK", str(pmb.config.work)))
|
||||
|
||||
# Replace ~ (path variables only)
|
||||
for key in ["aports", "config", "log", "work"]:
|
||||
for key in ["aports", "config", "work"]:
|
||||
if key in args:
|
||||
setattr(args, key, Path(getattr(args, key)).expanduser())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue