mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
waf: px4: fix log output for px4_copy task
It was displaying the source path as the destination!
This commit is contained in:
parent
f19922fec5
commit
218dc3fdf2
@ -106,6 +106,9 @@ class px4_copy(Task.Task):
|
|||||||
def keyword(self):
|
def keyword(self):
|
||||||
return "PX4: Copying %s to" % self.inputs[0].name
|
return "PX4: Copying %s to" % self.inputs[0].name
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.outputs[0].path_from(self.generator.bld.bldnode)
|
||||||
|
|
||||||
class px4_add_git_hashes(Task.Task):
|
class px4_add_git_hashes(Task.Task):
|
||||||
run_str = '${PYTHON} ${PX4_ADD_GIT_HASHES} --ardupilot ${PX4_APM_ROOT} --px4 ${PX4_ROOT} --nuttx ${PX4_NUTTX_ROOT} --uavcan ${PX4_UAVCAN_ROOT} ${SRC} ${TGT}'
|
run_str = '${PYTHON} ${PX4_ADD_GIT_HASHES} --ardupilot ${PX4_APM_ROOT} --px4 ${PX4_ROOT} --nuttx ${PX4_NUTTX_ROOT} --uavcan ${PX4_UAVCAN_ROOT} ${SRC} ${TGT}'
|
||||||
color = 'CYAN'
|
color = 'CYAN'
|
||||||
|
Loading…
Reference in New Issue
Block a user