Building in subdirectory broke in 1.8.10 #1590

This commit is contained in:
Thomas Nagy 2015-06-24 18:54:03 +02:00
parent acf9032687
commit ae508f2f82
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -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()