Fixes workdir lowercasing.
The `cli.ask` command would forcibly lowercase the whole string. This made the script unusable on a non-FHS-compliant system, like mine, where the users's directories are under `/Users/`.
This commit is contained in:
parent
15a495b7e2
commit
41177a25de
|
@ -39,7 +39,7 @@ def init(args):
|
|||
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)
|
||||
None, args.work, False)
|
||||
os.makedirs(cfg["pmbootstrap"]["work"], 0o700, True)
|
||||
|
||||
# Parallel job count
|
||||
|
|
Loading…
Reference in New Issue