mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Report the exit code on a shell macro failure.
This commit is contained in:
parent
8130026286
commit
e4cb1d01d6
@ -342,7 +342,7 @@ class file:
|
|||||||
if exit_code == 0:
|
if exit_code == 0:
|
||||||
line = line.replace(s, output)
|
line = line.replace(s, output)
|
||||||
else:
|
else:
|
||||||
raise error.general('shell macro failed: %s: %s' % (s, output))
|
raise error.general('shell macro failed: %s:%d: %s' % (s, exit_code, output))
|
||||||
return line
|
return line
|
||||||
|
|
||||||
def _expand(self, s):
|
def _expand(self, s):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user