diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 6cee89be3..16884f2c1 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -133,9 +133,9 @@ sub getFile { } sub getAndSaveFile { my ($file, $local) = @_ == 1 ? ("Mandrake/mdkinst$_[0]", $_[0]) : @_; - local *F; open F, ">$local" or return; local $/ = \ (16 * 1024); my $f = ref($file) ? $file : getFile($file) or return; + local *F; open F, ">$local" or return; local $_; while (<$f>) { syswrite F, $_ } 1; |