mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
Don't print double-faults.
/trunk/scripts/functions | 3 3 0 0 +++ 1 file changed, 3 insertions(+)
This commit is contained in:
parent
2a884e354a
commit
4fcab60674
@ -3,8 +3,11 @@
|
||||
# Licensed under the GPL v2. See COPYING in the root of this package
|
||||
|
||||
# Prepare the fault handler
|
||||
CT_IN_FAULT_HANDLER=0
|
||||
CT_OnError() {
|
||||
ret=$?
|
||||
[ ${CT_IN_FAULT_HANDLER} -ne 0 ] && return 0
|
||||
CT_IN_FAULT_HANDLER=1
|
||||
CT_DoLog ERROR "Build failed in step '${CT_STEP_MESSAGE[${CT_STEP_COUNT}]}'"
|
||||
for((step=(CT_STEP_COUNT-1); step>1; step--)); do
|
||||
CT_DoLog ERROR " called in step '${CT_STEP_MESSAGE[${step}]}'"
|
||||
|
Loading…
Reference in New Issue
Block a user