Changeset 22032 for main/trunk/greenstone2/bin/script
- Timestamp:
- 2010-05-04T16:14:12+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/mkcol.pl
r21301 r22032 103 103 { 'name' => "about", 104 104 'desc' => "{mkcol.about}", 105 'type' => "string", 106 'reqd' => "no" }, 107 { 'name' => "buildtype", 108 'desc' => "{mkcol.buildtype}", 109 'type' => "string", 110 'reqd' => "no" }, 111 { 'name' => "infodbtype", 112 'desc' => "{mkcol.infodbtype}", 105 113 'type' => "string", 106 114 'reqd' => "no" }, … … 141 149 # options 142 150 my ($creator, $optionfile, $maintainer, $gs3mode, $group, $collectdir, $site, 143 $public, 144 $ title, $about, $plugin, $quiet, $language, $win31compat, $gli);151 $public, $title, $about, $buildtype, $infodbtype, $plugin, $quiet, 152 $language, $win31compat, $gli); 145 153 146 154 #other variables … … 233 241 $line =~ s/\*\*title\*\*/$title/g; 234 242 $line =~ s/\*\*about\*\*/$about/g; 243 $line =~ s/\*\*buildtype\*\*/$buildtype/g; 244 $line =~ s/\*\*infodbtype\*\*/$infodbtype/g; 235 245 if (!$gs3mode) { 236 246 $line =~ s/\*\*plugins\*\*/$pluginstring/g; … … 362 372 363 373 $public = "true" unless defined $public; 374 375 $buildtype = "mgpp" unless defined $buildtype; 376 $infodbtype = "gdbm" unless defined $infodbtype; 377 364 378 365 379 if (!defined($title) || $title eq "") {
Note:
See TracChangeset
for help on using the changeset viewer.