From ae508f2f82fbfad4420f7920b6f68a6801e383fd Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Wed, 24 Jun 2015 18:54:03 +0200 Subject: [PATCH] Building in subdirectory broke in 1.8.10 #1590 --- waflib/Scripting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/Scripting.py b/waflib/Scripting.py index 277cc27f..ba2893e4 100644 --- a/waflib/Scripting.py +++ b/waflib/Scripting.py @@ -71,7 +71,7 @@ def waf_entry_point(current_directory, version, wafdir): # try to find a lock file (if the project was configured) # at the same time, store the first wscript file seen cur = current_directory - while cur and not Context.run_dir: + while cur and not Context.top_dir: lst = os.listdir(cur) if Options.lockfile in lst: env = ConfigSet.ConfigSet()