mirror of
https://github.com/mirror/make.git
synced 2025-02-06 17:50:48 +08:00
* tests/test_driver.pl (toplevel): [SV 63156] Keep temp env vars
This commit is contained in:
parent
3e20e376b7
commit
bf2d71498c
@ -219,9 +219,6 @@ sub toplevel
|
||||
$makeENV{LANG} = 'C';
|
||||
$makeENV{LANGUAGE} = 'C';
|
||||
|
||||
# Replace the environment with the new one
|
||||
resetENV();
|
||||
|
||||
$| = 1; # unbuffered output
|
||||
|
||||
$debug = 0; # debug flag
|
||||
@ -271,6 +268,9 @@ sub toplevel
|
||||
$makeENV{TMP} = $temppath;
|
||||
$makeENV{TEMP} = $temppath;
|
||||
|
||||
# Replace the environment with the new one
|
||||
resetENV();
|
||||
|
||||
$workpath = "$cwdslash$workdir";
|
||||
$scriptpath = "$cwdslash$scriptdir";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user