HARNESS_VERBOSE
PREFIX
MAKEFLAGS
+ PERL_INSTALL_QUIET
);
my %default_env_keys;
=head1 DESCRIPTION
-A consolidation of little utility functions used through out the
+A consolidation of little utility functions used throughout the
MakeMaker test suite.
=head2 Functions
last if -x $perlpath;
}
}
+ $perlpath = qq{"$perlpath"}; # "safe... in a command line" even with spaces
return $perlpath;
}
my $make = $Config{make};
$make = $ENV{MAKE} if exists $ENV{MAKE};
- return $make;
+ return $Is_VMS ? $make : qq{"$make"};
}
=item B<make_run>
# Unix, modern Windows and OS/2 from 5.005_54 up can handle 2>&1
# This makes our failure diagnostics nicer to read.
- if( MM->os_flavor_is('Unix') or
- (MM->os_flavor_is('Win32') and !MM->os_flavor_is('Win9x')) or
- ($] > 5.00554 and MM->os_flavor_is('OS/2'))
- ) {
+ if (MM->can_redirect_error) {
return `$cmd 2>&1`;
}
else {