diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-01-23 17:22:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-01-23 17:22:46 +0000 |
commit | 12d989fc9f88ccb10167cfc50ad75f33d53a1699 (patch) | |
tree | 65c6632958d2fa1b960f63f52bdefff7e2e8f486 | |
parent | 07aa344d680ca3fed36c22499cecfbeb44344c0e (diff) | |
download | rpmdrake-12d989fc9f88ccb10167cfc50ad75f33d53a1699.tar rpmdrake-12d989fc9f88ccb10167cfc50ad75f33d53a1699.tar.gz rpmdrake-12d989fc9f88ccb10167cfc50ad75f33d53a1699.tar.bz2 rpmdrake-12d989fc9f88ccb10167cfc50ad75f33d53a1699.tar.xz rpmdrake-12d989fc9f88ccb10167cfc50ad75f33d53a1699.zip |
(extract_header) fix a crash (#37122)
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index bf3269c4..c9945daa 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -105,7 +105,7 @@ sub extract_header { my ($p, $medium) = ($pkg->{pkg}, pkg2medium($pkg->{pkg}, $urpm)); my ($local_source, %xml_info_pkgs); if (my $dir = urpm::file_from_local_url($medium->{url})) { - $local_source = "$dir/" . $_->header_filename; + $local_source = "$dir/" . $p->header_filename; $urpm->{log}("getting information from rpms from $dir"); } else { foreach my $xml_info ('info', 'files', 'changelog') { |