mirror of https://gitlab.com/ita1024/waf.git
Fixup: read the relevant lock file with --top
This commit is contained in:
parent
f0c8b0c283
commit
ddbc9726b0
|
@ -52,7 +52,7 @@ def waf_entry_point(current_directory, version, wafdir):
|
||||||
ctx = Context.create_context('options')
|
ctx = Context.create_context('options')
|
||||||
(options, commands, env) = ctx.parse_cmd_args(allow_unknown=True)
|
(options, commands, env) = ctx.parse_cmd_args(allow_unknown=True)
|
||||||
if options.top:
|
if options.top:
|
||||||
Context.run_dir = Context.top_dir = options.top
|
start_dir = Context.run_dir = Context.top_dir = options.top
|
||||||
no_climb = True
|
no_climb = True
|
||||||
if options.out:
|
if options.out:
|
||||||
Context.out_dir = options.out
|
Context.out_dir = options.out
|
||||||
|
|
Loading…
Reference in New Issue