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
1 changed files with 1 additions and 1 deletions

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):