Changeset 27694 for other-projects/nightly-tasks/diffcol/trunk
- Timestamp:
- 2013-06-21T17:56:09+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task.pl
r27687 r27694 569 569 # copy the reports across with different names: with OS prefixed to them. And for the HTML file on Win, rename to HTM 570 570 # html files uploaded from windows to nzdl are empty for no reason. Uploading as htm seems to work 571 my $os = $^O;572 (my $os_entry = $entry)=~ s@\[email protected]@ if $isWin;573 $os_entry = $^O."- $os_entry";571 my $os_entry = $entry; 572 $os_entry =~ s@\[email protected]@ if $isWin; 573 $os_entry = $^O."-diffcol-$os_entry"; 574 574 575 575 # get the absolute path to the original files before copying them over … … 597 597 # if you need to touch the file on windows: http://stackoverflow.com/questions/51435/windows-version-of-the-unix-touch-command 598 598 599 # the report we want to upload is actually just report-$dateid.html599 # the report we want to upload is actually just os-diffcol-report-$dateid.html 600 600 my $command = "cd \"$ENV{'UPLOAD_DIR'}\" && tar -c *.htm* | "; #&& cat *.html | "; # && tar -c * | 601 601 $command .= ($^O eq "MSWin32" ? "plink" : "ssh");
Note:
See TracChangeset
for help on using the changeset viewer.