diff -r a435f445d477 -r 535c6e0a057c scripts/crosstool.sh --- a/scripts/crosstool.sh Wed Nov 19 20:16:54 2008 +0000 +++ b/scripts/crosstool.sh Tue Nov 25 19:14:46 2008 +0000 @@ -20,13 +20,17 @@ # - initialise logging. . "${CT_LIB_DIR}/scripts/functions" -CT_STAR_DATE=$(CT_DoDate +%s%N) -CT_STAR_DATE_HUMAN=$(CT_DoDate +%Y%m%d.%H%M%S) - # Parse the configuration file # It has some info about the logging facility, so include it early . .config +# Overide the locale early, in case we ever translate crosstool-NG messages +[ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ] && export LC_ALL=C + +# Start date. Can't be done until we know the locale +CT_STAR_DATE=$(CT_DoDate +%s%N) +CT_STAR_DATE_HUMAN=$(CT_DoDate +%Y%m%d.%H%M%S) + # Yes! We can do full logging from now on! CT_DoLog INFO "Build started ${CT_STAR_DATE_HUMAN}"