From 41177a25de0574eef34db58d4fcd6007b7ac6a88 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sun, 28 May 2017 14:27:48 -0400 Subject: [PATCH] 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/`. --- pmb/config/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/config/init.py b/pmb/config/init.py index 333604ae..3193caa6 100644 --- a/pmb/config/init.py +++ b/pmb/config/init.py @@ -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