aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
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') {