Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2016-08-26 20:05:51 +0000
committerDavid Williams2016-08-26 20:05:51 +0000
commitd41d7efdbfb97437583d26a9cd32dc057f037fe9 (patch)
treed818052304c0bfca8f891a9ef8d81c1219a54725
parent464ec9455474ab0caa4829b4e90f730f7e3784f7 (diff)
downloadeclipse.platform.releng.aggregator-d41d7efdbfb97437583d26a9cd32dc057f037fe9.tar.gz
eclipse.platform.releng.aggregator-d41d7efdbfb97437583d26a9cd32dc057f037fe9.tar.xz
eclipse.platform.releng.aggregator-d41d7efdbfb97437583d26a9cd32dc057f037fe9.zip
Bug 500233 - Build IDs 1 minute too early
Improved fix truncating epoch seconds to nearest 5 minutes. Modified previous improvement to remove "warning" and simply echo another "DEBUG" statement that "RAWDATE was already set". I observed in a test run that the source file is "included" several times, so it is misleading to declare it a "warning" if it is found already set.
-rw-r--r--production/bootstrapVariables.shsource2
1 files changed, 1 insertions, 1 deletions
diff --git a/production/bootstrapVariables.shsource b/production/bootstrapVariables.shsource
index 2bd5364e..937a9f63 100644
--- a/production/bootstrapVariables.shsource
+++ b/production/bootstrapVariables.shsource
@@ -32,7 +32,7 @@ then
export RAWDATE
echo -e "\n\t[DEBUG] RAWDATE in ${0##*/} was empty (as expected) so setting to \"now minus $remainder\" (truncating to nearest 5 minutes): ${RAWDATE}\n"
else
- echo -e "\n\t[WARNING] RAWDATE in ${0##*/} was NOT empty as expected so there may be a program error? RAWDATE: ${RAWDATE}\n"
+ echo -e "\n\t[DEBUG] RAWDATE in ${0##*/} was already set. RAWDATE: ${RAWDATE}\n"
fi
if [[ -z "${SCRIPT_PATH}" ]]
then

Back to the top