2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 19:30:04 +01:00

Wrong cwd path for unity.py

This commit is contained in:
Thomas Nagy 2016-10-18 18:09:44 +02:00
parent 287046547b
commit cd50b17e7b
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -23,7 +23,7 @@ class unity(Task.Task):
color = 'BLUE'
scan = c_preproc.scan
def to_include(self, node):
ret = node.path_from(self.get_cwd())
ret = node.path_from(self.outputs[0].parent)
ret = ret.replace('\\', '\\\\').replace('"', '\\"')
return ret
def run(self):