From ddbc9726b00df765d7cb7c5d0e39257fbd4bc800 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 12 Sep 2017 20:22:13 +0200 Subject: [PATCH] Fixup: read the relevant lock file with --top --- waflib/Scripting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/Scripting.py b/waflib/Scripting.py index 1f4fe2d0..94c89790 100644 --- a/waflib/Scripting.py +++ b/waflib/Scripting.py @@ -52,7 +52,7 @@ def waf_entry_point(current_directory, version, wafdir): ctx = Context.create_context('options') (options, commands, env) = ctx.parse_cmd_args(allow_unknown=True) if options.top: - Context.run_dir = Context.top_dir = options.top + start_dir = Context.run_dir = Context.top_dir = options.top no_climb = True if options.out: Context.out_dir = options.out