diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-20 11:58:13 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-20 11:58:13 +0000 |
commit | 6e2180c1f2240d755285e910a84d88f0491d14ad (patch) | |
tree | 831c15d7444c2ab71258a1e8b3bdfa7437765ad2 /scripts/functions | |
parent | 8f0f8a170a80f916f1b06f953bf1341adca733f0 (diff) | |
download | crosstool-ng-6e2180c1f2240d755285e910a84d88f0491d14ad.tar.gz crosstool-ng-6e2180c1f2240d755285e910a84d88f0491d14ad.tar.bz2 crosstool-ng-6e2180c1f2240d755285e910a84d88f0491d14ad.zip |
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(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 8feba43a..fc507578 100644 --- a/scripts/functions +++ b/scripts/functions @@ -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)) |