Changeset 2785 for trunk/gsdl/bin/script/build
- Timestamp:
- 2001-10-09T17:21:29+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/build
r2774 r2785 132 132 &main(); 133 133 134 close OUT if $use_out; 134 if ($use_out) { 135 close OUT; 136 137 # if we've created a build log we'll copy it to the collection's etc 138 # directory 139 my ($etcdir); 140 if ($dontinstall) { 141 $etcdir = &util::filename_cat($collectdir, "etc", "build.log"); 142 } else { 143 $etcdir = &util::filename_cat($ENV{'GSDLHOME'}, "collect", $collection, "etc", "build.log"); 144 } 145 146 &util::cp($outfile, $etcdir); 147 } 135 148 136 149 sub print_usage { … … 168 181 print STDOUT " -out Filename or handle to print output status to.\n"; 169 182 print STDOUT " The default is STDERR\n"; 183 print STDOUT " -statsfile name Filename or handle to print import statistics to.\n"; 184 print STDOUT " The default is STDERR\n"; 170 185 print STDOUT " -make_writable If set build will make the collection and any\n"; 171 186 print STDOUT " temporary files it created globally writable after\n"; … … 373 388 $import_cmd .= " -removeold" unless $append; 374 389 $import_cmd .= " -collectdir \"$collectdir\"" if $collectdir =~ /\w/; 390 $import_cmd .= " -statsfile \"$statsfile\"" if $statsfile =~ /\w/; 375 391 $import_cmd .= " $maxdocs $collection"; 392 393 print STDERR "\n**import_cmd: $import_cmd\n"; 394 376 395 system ($import_cmd); 377 396 # if using output directory append the import output to it … … 558 577 'email_events/.*/', \$email_events, 559 578 'mail_server/.*/', \$mail_server, 579 'statsfile/.*/STDERR', \$statsfile, 560 580 'event_header/.*/', \$event_header)) { 561 581
Note:
See TracChangeset
for help on using the changeset viewer.