Changeset 1682 in ProjectBuilder
- Timestamp:
- Dec 27, 2012, 9:08:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
projects/casparbuster/devel/bin/cb
r1679 r1682 395 395 } 396 396 397 $ssh2 = cb_ssh_init($remote,$mach ine,$debug);397 $ssh2 = cb_ssh_init($remote,$mach,$debug); 398 398 399 399 $ssh2->scp_put($tarfile,$tarfile); … … 417 417 } 418 418 419 pb_log(0,"INFO: Extracting $tbextract (on $mach ine) $tarfile under $path\n");419 pb_log(0,"INFO: Extracting $tbextract (on $mach) $tarfile under $path\n"); 420 420 421 421 foreach my $k (keys %{$cbp}) { … … 426 426 if ((defined $force) || (not defined $cbp->{$k}->{$type}->{$o}->{'deleted'})) { 427 427 if ($debug) { 428 #pb_log(1,"INFO: Executing (on $mach ine) sudo chown $cbp->{$k}->{$type}->{$o}->{'uid'}:$cbp->{$k}->{$type}->{$o}->{'gid'} $path/$o\n");429 #pb_log(1,"INFO: Executing (on $mach ine) sudo chmod $cbp->{$k}->{$type}->{$o}->{'mode'} $path/$o\n");428 #pb_log(1,"INFO: Executing (on $mach) sudo chown $cbp->{$k}->{$type}->{$o}->{'uid'}:$cbp->{$k}->{$type}->{$o}->{'gid'} $path/$o\n"); 429 #pb_log(1,"INFO: Executing (on $mach) sudo chmod $cbp->{$k}->{$type}->{$o}->{'mode'} $path/$o\n"); 430 430 } else { 431 431 # TODO: remove hardcoded commands … … 434 434 #print $chan "sudo chmod $cbp->{$k}->{$type}->{$o}->{'mode'} $path/$o\n"; 435 435 } 436 pb_log(0,"INFO: Delivering $path/$o on $mach ine\n");436 pb_log(0,"INFO: Delivering $path/$o on $mach\n"); 437 437 } 438 438 } … … 442 442 print $chan "$cbp->{$k}->{'reloadscript'}\n"; 443 443 } 444 pb_log(0,"INFO: Executing (on $mach ine) $cbp->{$k}->{'reloadscript'}\n");444 pb_log(0,"INFO: Executing (on $mach) $cbp->{$k}->{'reloadscript'}\n"); 445 445 } 446 446 } … … 450 450 print $chan "rm -rf $ENV{'PBTMP'}\n"; 451 451 } else { 452 pb_log(1,"Remove remote directory $ENV{'PBTMP'} on $mach ine\n");452 pb_log(1,"Remove remote directory $ENV{'PBTMP'} on $mach\n"); 453 453 } 454 454 $chan->close();
Note:
See TracChangeset
for help on using the changeset viewer.