diff options
author | ache <ache@FreeBSD.org> | 2003-08-04 21:31:53 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-08-04 21:31:53 +0000 |
commit | 26ffc627d866fa1c420017d80fb303184cc8f99e (patch) | |
tree | 9ec10501fc28fb7fb5d4adfbf9dd2c38cc13e87a /usr.sbin/amd/include | |
parent | cb188056e62a5c06bc394877c8f8de9d7aaab12a (diff) | |
download | FreeBSD-src-26ffc627d866fa1c420017d80fb303184cc8f99e.zip FreeBSD-src-26ffc627d866fa1c420017d80fb303184cc8f99e.tar.gz |
LANG->LC_ALL
Pointed by: ru
Diffstat (limited to 'usr.sbin/amd/include')
-rw-r--r-- | usr.sbin/amd/include/newvers.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/amd/include/newvers.sh b/usr.sbin/amd/include/newvers.sh index d1683cf..bfdbfc8 100644 --- a/usr.sbin/amd/include/newvers.sh +++ b/usr.sbin/amd/include/newvers.sh @@ -5,8 +5,8 @@ # if [ -e $1 ]; then - eval `LANG=C egrep '^[A-Z]+=' $1 | grep -v COPYRIGHT` - OS=`echo ${TYPE} | LANG=C tr 'A-Z' 'a-z'` + eval `LC_ALL=C egrep '^[A-Z]+=' $1 | grep -v COPYRIGHT` + OS=`echo ${TYPE} | LC_ALL=C tr 'A-Z' 'a-z'` echo '/* Define name and version of host machine (eg. solaris2.5.1) */' echo "#define HOST_OS \"${OS}${REVISION}\"" echo '/* Define only name of host machine OS (eg. solaris2) */' @@ -18,10 +18,10 @@ else cat << __NO_newvers_sh /* Define name and version of host machine (eg. solaris2.5.1) */ -#define HOST_OS "`uname -s | LANG=C tr 'A-Z' 'a-z'``uname -r`" +#define HOST_OS "`uname -s | LC_ALL=C tr 'A-Z' 'a-z'``uname -r`" /* Define only name of host machine OS (eg. solaris2) */ -#define HOST_OS_NAME "`uname -s | LANG=C tr 'A-Z' 'a-z'``uname -r | sed -e 's/\..*$//'`" +#define HOST_OS_NAME "`uname -s | LC_ALL=C tr 'A-Z' 'a-z'``uname -r | sed -e 's/\..*$//'`" /* Define only version of host machine (eg. 2.5.1) */ #define HOST_OS_VERSION "`uname -r | sed -e 's/[-([:alpha:]].*//'`" |