Changeset 27701 for other-projects/nightly-tasks/diffcol/trunk/task.pl
- Timestamp:
- 2013-06-24T22:43:44+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task.pl
r27694 r27701 37 37 my $use_blat = 0; # if we ever get blat to send mail/attachments on Windows working, set this to 1 38 38 39 39 40 # TASK_HOME should be the toplevel diffcol folder 40 41 $ENV{'TASK_HOME'} = getcwd unless defined $ENV{'TASK_HOME'}; 41 $ENV{'TASK_HOME'} =~ s@\/@\\@g if $isWin; 42 if($isWin) { 43 $ENV{'TASK_HOME'} =~ s@\/@\\@g; 44 # need to convert TASK_HOME path name to resolve very subtle bug when running task.pl via 45 # run-gs2-diffcol.bat which uses environment.pl's TASK_HOME setting via envi 46 # At that point TASK_HOME is already defined but ends up lowercase, so that entries in archiveinf-doc 47 # end up sorted differently when db2txt -sort is applied compared to if TASK_HOME had kept its case. 48 require Win32; # for working out Windows Long Filenames from Win 8.3 short filenames 49 $ENV{'TASK_HOME'} = &Win32::GetLongPathName($ENV{'TASK_HOME'}); 50 } 42 51 ## print STDERR "@@@ TASK_HOME: ".$ENV{'TASK_HOME'}."\n"; 43 52 … … 392 401 print STDERR "$collection - Importing:\n"; 393 402 print $xml_fh "<import>\n"; 394 &run_build_script("import.pl $collection -removeold"); #-OIDtype hash_on_full_filename403 &run_build_script("import.pl -removeold $collection"); #-OIDtype hash_on_full_filename 395 404 print $xml_fh "</import>\n"; 396 405 print STDERR "done\n"; … … 399 408 print STDERR "$collection - Building:\n"; 400 409 print $xml_fh "<build>\n"; 401 &run_build_script("buildcol.pl $collection -removeold");410 &run_build_script("buildcol.pl -removeold $collection"); 402 411 print $xml_fh "</build>\n"; 403 412 print STDERR "done\n";
Note:
See TracChangeset
for help on using the changeset viewer.