
From: Andrey Borzenkov <arvidjaar@mail.ru>

LANG is not always enough to force date to english.



 scripts/mkcompile_h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN scripts/mkcompile_h~really-use-english-date-in-version-string scripts/mkcompile_h
--- 25/scripts/mkcompile_h~really-use-english-date-in-version-string	2003-08-31 12:17:38.000000000 -0700
+++ 25-akpm/scripts/mkcompile_h	2003-08-31 12:17:38.000000000 -0700
@@ -27,7 +27,7 @@ fi
 
 UTS_VERSION="#$VERSION"
 if [ -n "$SMP" ] ; then UTS_VERSION="$UTS_VERSION SMP"; fi
-UTS_VERSION="$UTS_VERSION `LANG=C date`"
+UTS_VERSION="$UTS_VERSION `LC_ALL=C LANG=C date`"
 
 # Truncate to maximum length
 
@@ -42,7 +42,7 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}
 
   echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\"
 
-  echo \#define LINUX_COMPILE_TIME \"`LANG=C date +%T`\"
+  echo \#define LINUX_COMPILE_TIME \"`LC_ALL=C LANG=C date +%T`\"
   echo \#define LINUX_COMPILE_BY \"`whoami`\"
   echo \#define LINUX_COMPILE_HOST \"`hostname | $UTS_TRUNCATE`\"
 

_
