Stop using Config{run} to check the version of (mini)perl we are running
authorJess Robinson <castaway@desert-island.me.uk>
Wed, 2 Jan 2013 14:55:59 +0000 (14:55 +0000)
committerBrian Fraser <fraserbn@gmail.com>
Wed, 22 Jan 2014 16:08:19 +0000 (13:08 -0300)
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm

index 72d04fb..560f789 100644 (file)
@@ -1039,8 +1039,6 @@ WARNING
             print "Executing $abs\n" if ($trace >= 2);
 
             my $version_check = qq{$abs -le "require $ver; print qq{VER_OK}"};
-            $version_check = "$Config{run} $version_check"
-                if defined $Config{run} and length $Config{run};
 
             # To avoid using the unportable 2>&1 to suppress STDERR,
             # we close it before running the command.