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:
Samuel Dionne-Riel 2017-05-28 14:27:48 -04:00
parent 15a495b7e2
commit 41177a25de
1 changed files with 1 additions and 1 deletions

View File

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