Skip to content

Commit

Permalink
let fakeinstall use install modulebuildrc defaults (RT#57279)
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Dec 6, 2010
1 parent 025b2f4 commit a3a7793
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Changes
Expand Up @@ -40,6 +40,10 @@ Revision history for Perl extension Module::Build.
- PERL_DL_NONLAZY is now always set when tests are run
(RT#56055) [Dmitry Karasik]

- 'fakeinstall' will use .modulebuildrc actions for 'install' if
no specific 'fakeinstall' options are provided (RT#57279)
[David Golden]

0.36_17 - Wed Oct 27 18:08:36 EDT 2010

Enhancements:
Expand Down
5 changes: 5 additions & 0 deletions lib/Module/Build/Base.pm
Expand Up @@ -2291,6 +2291,11 @@ sub read_modulebuildrc {

my ($global_opts) =
$self->read_args( $self->split_like_shell( $options{'*'} || '' ) );

# let fakeinstall act like install if not provided
if ( $action eq 'fakeinstall' && ! exists $options{fakeinstall} ) {
$action = 'install';
}
my ($action_opts) =
$self->read_args( $self->split_like_shell( $options{$action} || '' ) );

Expand Down

0 comments on commit a3a7793

Please sign in to comment.