Changeset 34519 for other-projects/nightly-tasks/snapshot/trunk/lib.pl
- Timestamp:
- 2020-10-29T13:45:23+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/snapshot/trunk/lib.pl
r32048 r34519 218 218 } 219 219 220 #my $out = `set`; 221 #print "out = $out\n"; 220 222 my $command = "cd \"${release_dir}${sep}uploads\" && tar -c * | "; 221 223 $command .= ($^O eq "MSWin32" ? "plink" : "ssh"); 222 224 $command .= " -T -i \"$ENV{'IDENTITY_FILE'}\" nzdl\@puka.cs.waikato.ac.nz"; 223 #print "$command\n";225 print "$command\n"; 224 226 system("$command"); 225 227 226 # for now, upload a copy to the new machine, later to replace puka 228 ## for now, upload a copy to the new machine, later to replace puka 229 #$command = "cd \"${release_dir}${sep}uploads\" && tar -c * | "; 230 #$command .= ($^O eq "MSWin32" ? "plink" : "ssh"); 231 #$command .= " -T -i \"$ENV{'IDENTITY_FILE'}\" nzdl-gsorg\@wwwdev.greenstone.org"; 232 ##print "$command\n"; 233 #system("$command"); 234 235 # also upload a copy to www-internal, which is the new wwwdev, and will replace puka. 227 236 $command = "cd \"${release_dir}${sep}uploads\" && tar -c * | "; 228 237 $command .= ($^O eq "MSWin32" ? "plink" : "ssh"); 229 $command .= " -T -i \"$ENV{'IDENTITY_FILE '}\" nzdl-gsorg\@wwwdev.greenstone.org";230 #print "$command\n";238 $command .= " -T -i \"$ENV{'IDENTITY_FILE_ED25519'}\" nzdl-gsorg\@www-internal.greenstone.org"; 239 print "$command\n"; 231 240 system("$command"); 232 } 241 242 }
Note:
See TracChangeset
for help on using the changeset viewer.