Merge pull request #112 from craftyguy/fix_init_relpath
Support relative path for initializing config
This commit is contained in:
commit
c3011c953a
|
@ -38,8 +38,8 @@ def init(args):
|
|||
# Work folder
|
||||
logging.info("Location of the 'work' path. Multiple chroots (native,"
|
||||
" device arch, device rootfs) will be created in there.")
|
||||
cfg["pmbootstrap"]["work"] = pmb.helpers.cli.ask(args, "Work path",
|
||||
None, args.work, False)
|
||||
cfg["pmbootstrap"]["work"] = os.path.expanduser(pmb.helpers.cli.ask(args, "Work path",
|
||||
None, args.work, False))
|
||||
os.makedirs(cfg["pmbootstrap"]["work"], 0o700, True)
|
||||
|
||||
# Parallel job count
|
||||
|
|
Loading…
Reference in New Issue