mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -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()
|
||||
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)
|
||||
else:
|
||||
cfg.env[k] = val
|
||||
|
Loading…
Reference in New Issue
Block a user