fix LC_ALL and LC_CTYPE when set with conflicting values
This commit is contained in:
parent
611b3584d6
commit
f882a63cba
@ -166,7 +166,8 @@ if (($^O eq 'MSWin32') &&
|
|||||||
$confsuffix = '-win32';
|
$confsuffix = '-win32';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ENV{LC_ALL}="C" if (($ENV{LC_ALL}) && ($ENV{LC_ALL} !~ /^C$/));
|
||||||
|
$ENV{LC_CTYPE}="C" if (($ENV{LC_CTYPE}) && ($ENV{LC_CTYPE} !~ /^C$/));
|
||||||
$ENV{LANG}="C";
|
$ENV{LANG}="C";
|
||||||
|
|
||||||
sub rmtree($) {
|
sub rmtree($) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user