Reset LANG & LC_CTYPE, or national date representation will be used
in binary/logs.
This commit is contained in:
parent
5c4faadcac
commit
3a8d54d21e
@ -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}|" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user