Changeset 32047 for other-projects/nightly-tasks
- Timestamp:
- 2017-10-17T19:14:30+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task.pl
r29496 r32047 365 365 366 366 chdir($ENV{'DATA_DIR'}); 367 #print STDERR "@@@@ current dir: ".`pwd`."\n"; 368 #print STDERR "@@@@ data dir: ".$ENV{'DATA_DIR'}."\n"; 367 369 368 370 # use existing compiled-up greenstone installation, if a GSDLHOME set … … 1086 1088 my $status = system("$command"); 1087 1089 if($status != 0) { 1088 print STDERR "*** Failed to upload test report to nzdl $status\n"; 1089 } 1090 print STDERR "*** Failed to upload test report to nzdl $status\n"; 1091 } 1092 1093 # for now, upload a copy to the new machine, later to replace puka 1094 $command = "cd \"$ENV{'UPLOAD_DIR'}\" && tar -c *.htm* | "; #&& cat *.html | "; # && tar -c * | 1095 $command .= ($^O eq "MSWin32" ? "plink" : "ssh"); 1096 $command .= " -T -i \"$ENV{'IDENTITY_FILE'}\" nzdl-gsorg\@wwwdev.greenstone.org"; 1097 #print "$command\n"; 1098 $status = system("$command"); 1099 if($status != 0) { 1100 print STDERR "*** Failed to upload test report to nzdl $status\n"; 1101 } 1102 1090 1103 } else { 1091 1104 print STDERR "*** Cannot upload the test report to nzdl from this machine\n";
Note:
See TracChangeset
for help on using the changeset viewer.