summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-09-27 19:36:33 +0000
committerache <ache@FreeBSD.org>1995-09-27 19:36:33 +0000
commit458a69ed614b595d637a65cfa358001f0cdf3a47 (patch)
treebb2ccdcd081966137499f03c43cfa5fae3fd3e4f /usr.sbin/named
parent5182a414ac0c33b7a001f6d64de24a08e310e4d5 (diff)
downloadFreeBSD-src-458a69ed614b595d637a65cfa358001f0cdf3a47.zip
FreeBSD-src-458a69ed614b595d637a65cfa358001f0cdf3a47.tar.gz
Reset LANG & LC_CTYPE, or national date representation will be used
in binary/logs.
Diffstat (limited to 'usr.sbin/named')
-rw-r--r--usr.sbin/named/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile
index d569375..e1f050d 100644
--- a/usr.sbin/named/Makefile
+++ b/usr.sbin/named/Makefile
@@ -70,7 +70,7 @@ SUBDIR= tools xfer
VER = LOCAL-`date +%y%m%d.%H%M%S`
version.c: ${.CURDIR}/Version.c ${.CURDIR}/Makefile ${SRCS}
- (u=$${USER-root} d=`pwd |sed -e 's|/obj/|/src/|'` \
+ (LANG=; LC_CTYPE=; u=$${USER-root} d=`pwd |sed -e 's|/obj/|/src/|'` \
h=`hostname` t=`date`; \
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
OpenPOWER on IntegriCloud