From 2c5fad13f22c3daa5d4f693fc1775292535a35ca Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 7 Sep 2010 12:24:15 +1200 Subject: [PATCH] Update to wrap new functions in bcvi. --- lib/App/BCVI/AutoInstall.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/App/BCVI/AutoInstall.pm b/lib/App/BCVI/AutoInstall.pm index 6de81e5..630a8c0 100644 --- a/lib/App/BCVI/AutoInstall.pm +++ b/lib/App/BCVI/AutoInstall.pm @@ -7,14 +7,14 @@ use App::BCVI::InstallManager; our $VERSION = '0.1'; -sub wrap_ssh { - my ($self, @args_in) = @_; +sub execute_wrapped_ssh { + my ($self, $target, @args) = @_; - my $sig = $self->get_install_signature($host); + my $sig = $self->get_install_signature($target); if (! defined $sig) { - $self->install_to_host($host); + $self->install_to_host($target); } - $self->SUPER::wrap_ssh(@args_in); + $self->SUPER::execute_wrapped_ssh($target, @args); } App::BCVI->hook_client_class(); -- 2.30.2