|
|
@ -21,11 +21,10 @@ class uavcangen(Task.Task): |
|
|
|
out = self.env.get_flat('OUTPUT_DIR') |
|
|
|
out = self.env.get_flat('OUTPUT_DIR') |
|
|
|
src = self.env.get_flat('SRC') |
|
|
|
src = self.env.get_flat('SRC') |
|
|
|
dsdlc = self.env.get_flat("DSDL_COMPILER") |
|
|
|
dsdlc = self.env.get_flat("DSDL_COMPILER") |
|
|
|
input_dir = os.path.dirname(self.inputs[0].abspath()) |
|
|
|
|
|
|
|
ret = self.exec_command(['{}'.format(python), |
|
|
|
ret = self.exec_command(['{}'.format(python), |
|
|
|
'{}'.format(dsdlc), |
|
|
|
'{}'.format(dsdlc), |
|
|
|
'{}'.format(input_dir), |
|
|
|
'-O{}'.format(out)] + [x.abspath() for x in self.inputs]) |
|
|
|
'-O{}'.format(out)]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ret != 0: |
|
|
|
if ret != 0: |
|
|
|
# ignore if there was a signal to the interpreter rather |
|
|
|
# ignore if there was a signal to the interpreter rather |
|
|
|