summaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-08-04 21:31:53 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-08-04 21:31:53 +0000
commit90862ca23de03b17cb201942dad80e9165af032c (patch)
tree9ec10501fc28fb7fb5d4adfbf9dd2c38cc13e87a /usr.sbin/amd
parentd2cce3d6e83a62ef982fb2fccf30d49b8559212e (diff)
downloadsrc-test2-90862ca23de03b17cb201942dad80e9165af032c.tar.gz
src-test2-90862ca23de03b17cb201942dad80e9165af032c.zip
Notes
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/include/newvers.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/amd/include/newvers.sh b/usr.sbin/amd/include/newvers.sh
index d1683cf9e8c3..bfdbfc8d9540 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:]].*//'`"