mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
waf: cope with spaces in directory name in mavgen
This commit is contained in:
parent
cacfc4cb2f
commit
385d1c1951
@ -55,7 +55,7 @@ class mavgen(Task.Task):
|
|||||||
mavgen = self.env.get_flat('MAVGEN')
|
mavgen = self.env.get_flat('MAVGEN')
|
||||||
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')
|
||||||
ret = self.exec_command('{} {} --lang=C --wire-protocol=2.0 --output {} {}'.format(
|
ret = self.exec_command("{} '{}' --lang=C --wire-protocol=2.0 --output '{}' '{}'".format(
|
||||||
python, mavgen, out, self.inputs[0].abspath()))
|
python, mavgen, out, self.inputs[0].abspath()))
|
||||||
|
|
||||||
if ret != 0:
|
if ret != 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user