1.1 --- a/scripts/crosstool.sh Wed Nov 19 20:16:54 2008 +0000
1.2 +++ b/scripts/crosstool.sh Thu Nov 20 17:48:10 2008 +0000
1.3 @@ -20,13 +20,17 @@
1.4 # - initialise logging.
1.5 . "${CT_LIB_DIR}/scripts/functions"
1.6
1.7 -CT_STAR_DATE=$(CT_DoDate +%s%N)
1.8 -CT_STAR_DATE_HUMAN=$(CT_DoDate +%Y%m%d.%H%M%S)
1.9 -
1.10 # Parse the configuration file
1.11 # It has some info about the logging facility, so include it early
1.12 . .config
1.13
1.14 +# Overide the locale early, in case we ever translate crosstool-NG messages
1.15 +[ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ] && export LC_ALL=C
1.16 +
1.17 +# Start date. Can't be done until we know the locale
1.18 +CT_STAR_DATE=$(CT_DoDate +%s%N)
1.19 +CT_STAR_DATE_HUMAN=$(CT_DoDate +%Y%m%d.%H%M%S)
1.20 +
1.21 # Yes! We can do full logging from now on!
1.22 CT_DoLog INFO "Build started ${CT_STAR_DATE_HUMAN}"
1.23