Permalink
Browse files

remove unnecessary intermediate var

  • Loading branch information...
1 parent 7ff2ead commit fd95d4afc539e0eb8acb7abc83a3ae1e2e3985ad @jberger jberger committed Mar 25, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Alien/Base/ModuleBuild.pm
@@ -408,11 +408,9 @@ sub alien_load_pkgconfig {
($pc->{package}, $pc)
} @$pc_files;
- my $manual_pc = $self->alien_generate_manual_pkgconfig($dir)
+ $pc_objects{_manual} = $self->alien_generate_manual_pkgconfig($dir)
or croak "Could not autogenerate pkgconfig information";
- $pc_objects{_manual} = $manual_pc;
-
$self->config_data( pkgconfig => \%pc_objects );
return \%pc_objects;
}

0 comments on commit fd95d4a

Please sign in to comment.