]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Revert "Try to prevent t/50-external.t from crashing on Cygwin"
authorVincent Pit <vince@profvince.com>
Sun, 23 Oct 2011 13:59:00 +0000 (15:59 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 23 Oct 2011 13:59:00 +0000 (15:59 +0200)
This reverts commit da77956a4d2f4fbfc4d6c4c2ed78063e5654ac5b.

t/50-external.t

index 0d973e97a8ce2350d04bd2b40886ff655a734f9d..2b318297eb101b66df6fe530955cd1a647801b37 100644 (file)
@@ -12,8 +12,7 @@ sub run_perl {
 
  my $SystemRoot   = $ENV{SystemRoot};
  local %ENV;
- $ENV{SystemRoot} = $SystemRoot if  defined $SystemRoot
-                                and ($^O eq 'MSWin32' or $^O eq 'cygwin');
+ $ENV{SystemRoot} = $SystemRoot if $^O eq 'MSWin32' and defined $SystemRoot;
 
  system { $^X } $^X, '-T', map("-I$_", @INC), '-e', $code;
 }