mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix options bug when the macro file is not found.
This commit is contained in:
parent
9384fbad86
commit
667255cb77
@ -250,7 +250,7 @@ class command_line:
|
|||||||
if um:
|
if um:
|
||||||
checked = path.exists(um)
|
checked = path.exists(um)
|
||||||
if False in checked:
|
if False in checked:
|
||||||
raise general.error('macro file not found: %s' % (um[um.index(False)]))
|
raise error.general('macro file not found: %s' % (um[checked.index(False)]))
|
||||||
for m in um:
|
for m in um:
|
||||||
self.defaults.load(m)
|
self.defaults.load(m)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user