mirror of https://gitlab.com/ita1024/waf.git
This commit is contained in:
parent
432133d1ee
commit
8d4d7ac9b0
|
@ -683,6 +683,7 @@ class Node(object):
|
||||||
lst.append(cur.name)
|
lst.append(cur.name)
|
||||||
cur = cur.parent
|
cur = cur.parent
|
||||||
# the file is external to the current project, make a fake root in the current build directory
|
# the file is external to the current project, make a fake root in the current build directory
|
||||||
|
lst.reverse()
|
||||||
return self.ctx.bldnode.make_node(['__root__'] + lst)
|
return self.ctx.bldnode.make_node(['__root__'] + lst)
|
||||||
|
|
||||||
def find_resource(self, lst):
|
def find_resource(self, lst):
|
||||||
|
|
Loading…
Reference in New Issue