Changeset 1679 in ProjectBuilder for projects/casparbuster/devel/bin/cbusterize


Ignore:
Timestamp:
Nov 16, 2012, 9:07:07 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • Start working on plugins
File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/casparbuster/devel/bin/cbusterize

    r1668 r1679  
    215215pb_log(1, "DEBUG: remote account2 = $remote\n");
    216216
     217$ssh2 = cb_ssh_init($remote,$machine,$debug) if (not defined $ssh2);
     218
    217219# Create basedir if it doesn't exist
    218220if (not -d $basedir) {
     
    236238    foreach my $p (split(/,/,$plugin)) {   
    237239        pb_log(1,"Getting context for plugin $p\n");
    238         $cbp = cb_plugin_get($p,$cbp);
     240        $cbp = cb_plugin_get($p,$cbp,$remote,$machine,$debug,$ssh2);
    239241        pb_log(2,"cbp: ".Dumper($cbp)."\n");
    240242        foreach my $k (keys %{$cbp->{$plugin}->{'dirsandfiles'}}) {
     
    260262my $realsrc = "";
    261263my $type = "";
    262 
    263 $ssh2 = cb_ssh_init($remote,$machine,$debug) if (not defined $ssh2);
    264264
    265265$chan = $ssh2->channel();
Note: See TracChangeset for help on using the changeset viewer.