Changeset 7101 for trunk/gsdl/bin/script/exportcol.pl
- Timestamp:
- 2004-03-22T13:27:17+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/exportcol.pl
r6945 r7101 61 61 62 62 63 #sub print_usage {64 # print STDERR "\n";65 # print STDERR "exportcol.pl: Exports collection for writing to CD-ROM.\n\n";66 # print STDERR " usage: $0 [options] collection-name\n\n";67 # print STDERR " -out Filename or handle to print debug info to.\n";68 # print STDERR " The default is STDERR\n";69 # print STDERR " -cdname The name of the cd - this is what will appear in the start menu once the cd is installed.\n";70 # print STDERR " The default is 'Greenstone Collections'.\n\n";71 #}72 73 63 &main(); 74 64 75 65 sub main { 76 my ($ out, $cdname);66 my ($language, $out, $cdname, $gli); 77 67 78 68 my $xml = 0; … … 82 72 'out/.*/STDERR', \$out, 83 73 'cdname/.*/', \$cdname, 74 'gli', \$gli, 84 75 q^xml^, \$xml)) { 85 76 … … 99 90 } 100 91 92 if ($gli) { # the gli wants strings to be in UTF-8 93 &gsprintf::output_strings_in_UTF8; 94 } 95 101 96 my $dirname=""; 102 97 if ($cdname eq "") {
Note:
See TracChangeset
for help on using the changeset viewer.