From: Vincent Pit Date: Thu, 12 Mar 2015 12:58:40 +0000 (-0300) Subject: Update VPIT::TestHelpers to 3c878c7c X-Git-Tag: v0.26~2 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=3beb96a81eebadf62454ea90eecd4b9dd36bdce5;p=perl%2Fmodules%2FScope-Upper.git Update VPIT::TestHelpers to 3c878c7c --- diff --git a/t/lib/VPIT/TestHelpers.pm b/t/lib/VPIT/TestHelpers.pm index 91de044..c147f80 100644 --- a/t/lib/VPIT/TestHelpers.pm +++ b/t/lib/VPIT/TestHelpers.pm @@ -113,9 +113,9 @@ sub run_perl { my $ldlibpth = $ENV{$ld_name}; local %ENV; + $ENV{$ld_name} = $ldlibpth if defined $ldlibpth; $ENV{SystemRoot} = $SystemRoot if $^O eq 'MSWin32' and defined $SystemRoot; $ENV{PATH} = $PATH if $^O eq 'cygwin' and defined $PATH; - $ENV{$ld_name} = $ldlibpth if $^O eq 'android' and defined $ldlibpth; system { $^X } $^X, '-T', map("-I$_", @INC), '-e', $code; }