mirror of https://gitlab.com/ita1024/waf.git
Building in subdirectory broke in 1.8.10 #1590
This commit is contained in:
parent
acf9032687
commit
ae508f2f82
|
@ -71,7 +71,7 @@ def waf_entry_point(current_directory, version, wafdir):
|
||||||
# try to find a lock file (if the project was configured)
|
# try to find a lock file (if the project was configured)
|
||||||
# at the same time, store the first wscript file seen
|
# at the same time, store the first wscript file seen
|
||||||
cur = current_directory
|
cur = current_directory
|
||||||
while cur and not Context.run_dir:
|
while cur and not Context.top_dir:
|
||||||
lst = os.listdir(cur)
|
lst = os.listdir(cur)
|
||||||
if Options.lockfile in lst:
|
if Options.lockfile in lst:
|
||||||
env = ConfigSet.ConfigSet()
|
env = ConfigSet.ConfigSet()
|
||||||
|
|
Loading…
Reference in New Issue