Skip to content

Commit

Permalink
Check the install_destination() of 'lib' and 'arch' directories in the
Browse files Browse the repository at this point in the history
'diff' action.


git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@4943 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
kenahoo committed Jul 30, 2004
1 parent 1c88da9 commit 67bf372
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Module/Build/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1669,6 +1669,10 @@ sub ACTION_diff {
$self->depends_on('build');
my $local_lib = File::Spec->rel2abs('lib');
my @myINC = grep {$_ ne $local_lib} @INC;

# The actual install destination might not be in @INC, so check there too.
push @myINC, map $self->install_destination($_), qw(lib arch);

my @flags = @{$self->{args}{ARGV}};
@flags = $self->split_like_shell($self->{args}{flags} || '') unless @flags;

Expand Down

0 comments on commit 67bf372

Please sign in to comment.