From b00d5f298c2d397f6beceb1a3f6fe351f2280c32 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 4 Oct 2019 16:19:52 +0000 Subject: attempt to fix argparse --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 91b4c09..dc538e9 100644 --- a/configure.py +++ b/configure.py @@ -124,7 +124,7 @@ def _read_prefix(): if 'DEBUG' in os.environ: logger.debug('PREFIX from environment: %s', p_myprefix) myprefix = p_myprefix - else: + elif args.prefix: myprefix = args.prefix if args.yarn is not None: yarnexe = args.yarn -- cgit v1.2.3