From b6a01c4caac3b483cb8fe94b301fd6ddb37c1a88 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 25 Nov 2002 15:05:28 +0000 Subject: fixes perl-checker importation of bug, getFile is complex for perl newbies, do not rely on perl-checker for trying to "fix" it else it won't run anymore ;-) --- perl-install/install_any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index ac79f3f2d..a79a691cf 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -127,7 +127,7 @@ sub getFile { #- to other to avoid media change... my $f2 = "$postinstall_rpms/$f"; $f2 = "/tmp/image/$rel" if !$postinstall_rpms || !-e $f2; - local *GETFILE; open GETFILE, $f2 and return *GETFILE; + open GETFILE, $f2 and *GETFILE; } } || errorOpeningFile($f); } -- cgit v1.2.1