waf: Fix the bnode issue when building in a manual directory.

This commit is contained in:
Chris Johns 2016-11-04 08:44:37 +11:00
parent 3a58bff6bf
commit 9024cfbc7f

View File

@ -77,7 +77,7 @@ def build_dir_setup(ctx, buildtype):
where = buildtype
if is_top_build(ctx):
where = os.path.join(ctx.path.name, where)
bnode = ctx.bldnode.find_node(where)
bnode = ctx.bldnode.find_node(where)
if bnode is None:
ctx.bldnode.make_node(where).mkdir()
build_dir = ctx.path.get_bld().relpath()