Skip to content

Commit

Permalink
Don't add stub to MANIFEST if already in lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Dec 20, 2014
1 parent f035962 commit 03c3d3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Inline/Module.pm
Expand Up @@ -302,7 +302,9 @@ sub add_to_distdir {
$code = $class->proxy_module($module);
$class->write_module("$distdir/inc", $module, $code);
$module =~ s!::!/!g;
push @$manifest, "lib/$module.pm", "inc/$module.pm";
push @$manifest, "lib/$module.pm"
unless -e "lib/$module.pm";
push @$manifest, "inc/$module.pm";
}
for my $module (@$included_modules) {
my $code = $class->read_local_module($module);
Expand Down

0 comments on commit 03c3d3d

Please sign in to comment.