Skip to content

Commit

Permalink
Item13357: missed passing the through to recursive call for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Comment committed Apr 23, 2015
1 parent bf32616 commit c3bd2e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/Foswiki/Configure/Package.pm
Expand Up @@ -366,7 +366,7 @@ sub install {

# Don't log these results - each package uses it's own logfile
my ( $depPlugins, $depCPAN ) =
$this->_installDependencies($supereporter);
$this->_installDependencies( $supereporter, $spec );
}

# Create a backup of the previous install if any
Expand Down Expand Up @@ -1756,7 +1756,7 @@ sub checkDependencies {
# Installs the dependencies listed for this module. Returns the details
# of the installation.
sub _installDependencies {
my ( $this, $reporter ) = @_;
my ( $this, $reporter, $spec ) = @_;
my %pluglist;
my %cpanlist;

Expand All @@ -1773,7 +1773,7 @@ sub _installDependencies {
seen => $this->{_seen},
%{ $this->{_options} }
);
my ( $ok, $plugins, $cpan ) = $deppkg->install($reporter);
my ( $ok, $plugins, $cpan ) = $deppkg->install( $reporter, $spec );
if ($ok) {
@pluglist{ keys %$plugins } = values %$plugins;
@cpanlist{ keys %$cpan } = values %$cpan;
Expand Down

0 comments on commit c3bd2e2

Please sign in to comment.