Reset LANG & LC_CTYPE, or national date representation will be used

in binary/logs.
This commit is contained in:
Andrey A. Chernov 1995-09-27 19:36:33 +00:00
parent 5c4faadcac
commit 3a8d54d21e

View File

@ -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}|" \