Changeset 117 in ProjectBuilder
- Timestamp:
- Sep 7, 2007, 7:25:22 PM (17 years ago)
- Location:
- devel/pb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r115 r117 405 405 # $src = "$src $ENV{'PBDESTDIR'}/pbscript" 406 406 } 407 print $LOG "$cmt: $src\n" if ($debug >= 0);408 407 push @src, $src; 409 408 } 409 $src = join(' ',@src); 410 print $LOG "$cmt: $src\n" if ($debug >= 0); 410 411 my ($sshhost,$sshlogin,$sshdir,$sshport) = pb_conf_get($host,$login,$dir,$port); 411 412 my $mac = "$sshlogin->{$ENV{'PBPROJ'}}\@$sshhost->{$ENV{'PBPROJ'}}"; … … 421 422 } 422 423 $port = $sshport->{$ENV{'PBPROJ'}}; 423 $src = join(' ',@src);424 424 pb_system("ssh -q -p $port $mac \"mkdir -p $tdir ; cd $tdir ; rm -f $src\"","Preparing $tdir on $mac"); 425 425 pb_system("scp -p -P $port $src $mac:$tdir","$cmt delivery in $tdir on $mac"); -
devel/pb/lib/ProjectBuilder/Base.pm
r116 r117 189 189 190 190 print "$cmt... "; 191 system("$cmd 2>&1 > $ENV{'PBTMP'}/system.log"); 191 #system("$cmd 2>&1 > $ENV{'PBTMP'}/system.log"); 192 system("$cmd"); 192 193 if ($? == -1) { 193 194 print "failed to execute ($cmd) : $!\n"; … … 208 209 my $file=shift; 209 210 210 open(FILE,"$file") || die "Unable to open $file"; 211 return if (not -f $file); 212 open(FILE,"$file"); 211 213 while (<FILE>) { 212 214 print $_;
Note:
See TracChangeset
for help on using the changeset viewer.