[rtems-docs commit] waf: Fix the bnode issue when building in a manual directory.

Chris Johns chrisj at rtems.org
Thu Nov 3 21:45:24 UTC 2016


Module:    rtems-docs
Branch:    master
Commit:    9024cfbc7f5ed421020d34d091ce31c99c53fe63
Changeset: http://git.rtems.org/rtems-docs/commit/?id=9024cfbc7f5ed421020d34d091ce31c99c53fe63

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Nov  4 08:44:37 2016 +1100

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

---

 common/waf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/waf.py b/common/waf.py
index acc7949..80e8b28 100644
--- a/common/waf.py
+++ b/common/waf.py
@@ -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()



More information about the vc mailing list