Revert "Temporarily disable fix for exported variables"

This reverts commit 137cc48779.
This commit is contained in:
Tom Eastep 2020-04-01 12:55:14 -07:00
parent 137cc48779
commit 112c4dc38a
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -6012,7 +6012,9 @@ sub export_params() {
# Don't export pairs from %ENV
#
if ( defined $ENV{$param} ) {
next if $value eq $ENV{$param};
unless ( $export || $test ) {
next if $value eq $ENV{$param};
}
} elsif ( exists $ENV{$param} ) {
next unless supplied $value;
}