summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-20 11:58:13 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-20 11:58:13 (GMT)
commit6e2180c1f2240d755285e910a84d88f0491d14ad (patch)
tree831c15d7444c2ab71258a1e8b3bdfa7437765ad2 /scripts/functions
parent8f0f8a170a80f916f1b06f953bf1341adca733f0 (diff)
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/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 8feba43..fc50757 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))