# install relative to here
my $INSTALL_ROOT = $ENV{PERL_INSTALL_ROOT};
+my $INSTALL_QUIET = $ENV{PERL_INSTALL_QUIET};
my $Curdir = File::Spec->curdir;
my $Updir = File::Spec->updir;
_mkpath($autodir,0,0755);
while(my($from, $to) = each %$fromto) {
if( -f $to && -s $from == -s $to && -M $to < -M $from ) {
- print "Skip $to (unchanged)\n" unless $ENV{PERL_INSTALL_QUIET};
+ print "Skip $to (unchanged)\n" unless $INSTALL_QUIET;
next;
}
$from =~ /\.pm$/;
if (!$need_filtering && 0 == compare($from,$to)) {
- print "Skip $to (unchanged)\n" unless $ENV{PERL_INSTALL_QUIET};
+ print "Skip $to (unchanged)\n" unless $INSTALL_QUIET;
next;
}
if (-f $to){
print "$pm_filter <$from >$to\n";
} else {
_copy( $from, $to );
- print "cp $from $to\n" unless $ENV{PERL_INSTALL_QUIET};
+ print "cp $from $to\n" unless $INSTALL_QUIET;
}
my($mode,$atime,$mtime) = (stat $from)[2,8,9];
utime($atime,$mtime+$Is_VMS,$to);
use MakeMaker::Test::Setup::BFD;
-BEGIN { use_ok('ExtUtils::Install') }
+BEGIN {
+ local $ENV{PERL_INSTALL_QUIET};
+ use_ok('ExtUtils::Install');
+}
# ensure the env doesn't pollute our tests
local $ENV{EU_INSTALL_ALWAYS_COPY};
-local $ENV{EU_ALWAYS_COPY};
+local $ENV{EU_ALWAYS_COPY};
# Check exports.
foreach my $func (qw(install uninstall pm_to_blib install_default)) {
chdir 'Big-Dummy';
-local $ENV{PERL_INSTALL_QUIET};
-
my $stdout = tie *STDOUT, 'TieOut';
pm_to_blib( { 'lib/Big/Dummy.pm' => 'blib/lib/Big/Dummy.pm' },
'blib/lib/auto'
use MakeMaker::Test::Setup::BFD;
-BEGIN { use_ok('ExtUtils::Install') }
+BEGIN {
+ local $ENV{PERL_INSTALL_QUIET};
+ use_ok('ExtUtils::Install');
+}
# Check exports.
foreach my $func (qw(install uninstall pm_to_blib install_default)) {
# ensure the env doesn't pollute our tests
local $ENV{EU_INSTALL_ALWAYS_COPY};
local $ENV{EU_ALWAYS_COPY};
-local $ENV{PERL_INSTALL_QUIET};
chdir 'Big-Dummy';