diff options
author | Andrew Morton <akpm@osdl.org> | 2003-09-09 10:20:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-09 10:20:49 -0700 |
commit | fa5349be5301a8a0d25668cb164e9dffbf9003b7 (patch) | |
tree | 28c1afd0f067d81c31f5528586a2712370245107 /scripts | |
parent | 00dbb2eae845682839f95b2a9716c66926f3e9e1 (diff) | |
download | history-fa5349be5301a8a0d25668cb164e9dffbf9003b7.tar.gz |
[PATCH] really use english date in version string
From: Andrey Borzenkov <arvidjaar@mail.ru>
LANG is not always enough to force date to english.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkcompile_h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h index 71d75141c40ab..8d118d1819508 100755 --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h @@ -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\}\).*/\1/" 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`\" |