filter them from the saved environment (so user settings override those of
binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting.
(trunk r14975)
svn path=/main/branches/2.1.7/; revision=15009
unset ECHANGELOG_USER GPG_AGENT_INFO \
SSH_AGENT_PID SSH_AUTH_SOCK STY WINDOW XAUTHORITY
+ # localization settings
+ unset LANG LC_COLLATE LC_CTYPE LC_MESSAGES \
+ LC_MONETARY LC_NUMERIC LC_TIME LC_PAPER \
+ LC_ALL
+
# CCACHE and DISTCC config
unset ${!CCACHE_*} ${!DISTCC_*}
"TMPDIR", "TEMP", "TMP",
]
+ # localization settings
+ _environ_whitelist += [
+ "LANG", "LC_COLLATE", "LC_CTYPE", "LC_MESSAGES",
+ "LC_MONETARY", "LC_NUMERIC", "LC_TIME", "LC_PAPER",
+ "LC_ALL",
+ ]
+
# other variables inherited from the calling environment
_environ_whitelist += [
"CVS_RSH", "ECHANGELOG_USER",