mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-16 15:28:55 +00:00
Print "Build completed" only if not in error, not the other way around.
/trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
8f0f8a170a
commit
6e2180c1f2
@ -120,7 +120,7 @@ CT_DoEnd()
|
||||
local level="$1"
|
||||
CT_STOP_DATE=$(CT_DoDate +%s%N)
|
||||
CT_STOP_DATE_HUMAN=$(CT_DoDate +%Y%m%d.%H%M%S)
|
||||
if [ "${level}" = "ERROR" ]; then
|
||||
if [ "${level}" != "ERROR" ]; then
|
||||
CT_DoLog "${level:-INFO}" "Build completed at ${CT_STOP_DATE_HUMAN}"
|
||||
fi
|
||||
elapsed=$((CT_STOP_DATE-CT_STAR_DATE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user