mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
waf: boards: fix bug in boards environment merge
This commit is contained in:
parent
bf3dda9156
commit
f8727f7362
@ -44,7 +44,7 @@ class Board:
|
|||||||
keys.sort()
|
keys.sort()
|
||||||
val = ['%s=%s' % (vk, val[vk]) for vk in keys]
|
val = ['%s=%s' % (vk, val[vk]) for vk in keys]
|
||||||
|
|
||||||
if k in cfg.env and isinstance(cfg.env, list):
|
if k in cfg.env and isinstance(cfg.env[k], list):
|
||||||
cfg.env.prepend_value(k, val)
|
cfg.env.prepend_value(k, val)
|
||||||
else:
|
else:
|
||||||
cfg.env[k] = val
|
cfg.env[k] = val
|
||||||
|
Loading…
Reference in New Issue
Block a user