Changeset 12340 for trunk/gsdl/perllib
- Timestamp:
- 2006-07-28T15:21:45+12:00 (18 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/basebuilder.pm
r12128 r12340 118 118 } 119 119 120 $self->{'maxnumeric'} = 4; 120 121 return $self; 121 122 } … … 212 213 } 213 214 215 sub set_maxnumeric { 216 my $self = shift (@_); 217 my ($maxnumeric) = @_; 218 219 $self->{'maxnumeric'} = $maxnumeric; 220 } 214 221 sub set_strip_html { 215 222 my $self = shift (@_); … … 427 434 $build_cfg->{'notbuilt'} = \@notbuilt if scalar (@notbuilt); 428 435 429 $build_cfg->{'maxnumeric'} = 4; 430 if (defined($self->{'collect_cfg'}->{'maxnumeric'}) && 431 $self->{'collect_cfg'}->{'maxnumeric'} =~ /^\d+$/) { 432 $build_cfg->{'maxnumeric'} = $self->{'collect_cfg'}->{'maxnumeric'}; 433 } 436 $build_cfg->{'maxnumeric'} = $self->{'maxnumeric'}; 434 437 435 438 $self->build_cfg_extra($build_cfg); -
trunk/gsdl/perllib/mgbuilder.pm
r10468 r12340 96 96 my $outhandle = $self->{'outhandle'}; 97 97 98 my $maxnumeric = 4; 99 if (defined($self->{'collect_cfg'}->{'maxnumeric'}) && 100 $self->{'collect_cfg'}->{'maxnumeric'} =~ /^\d+$/) { 101 $maxnumeric = $self->{'collect_cfg'}->{'maxnumeric'}; 102 } 98 my $maxnumeric = $self->{'maxnumeric'}; 103 99 104 100 &util::mk_all_dir (&util::filename_cat($self->{'build_dir'}, "text")); … … 309 305 &util::filename_cat ($exedir, "mg_stem_idx$exe"); 310 306 311 my $maxnumeric = 4; 312 if (defined($self->{'collect_cfg'}->{'maxnumeric'}) && 313 $self->{'collect_cfg'}->{'maxnumeric'} =~ /^\d+$/) { 314 $maxnumeric = $self->{'collect_cfg'}->{'maxnumeric'}; 315 } 307 my $maxnumeric = $self->{'maxnumeric'}; 316 308 317 309 my $osextra = ""; -
trunk/gsdl/perllib/mgppbuilder.pm
r12325 r12340 172 172 my $outhandle = $self->{'outhandle'}; 173 173 174 my $maxnumeric = 4; 175 if (defined($self->{'collect_cfg'}->{'maxnumeric'}) && 176 $self->{'collect_cfg'}->{'maxnumeric'} =~ /^\d+$/) { 177 $maxnumeric = $self->{'collect_cfg'}->{'maxnumeric'}; 178 } 174 my $maxnumeric = $self->{'maxnumeric'}; 179 175 180 176 &util::mk_all_dir (&util::filename_cat($self->{'build_dir'}, "text")); … … 427 423 &util::filename_cat ($exedir, "mgpp_stem_idx$exe"); 428 424 429 my $maxnumeric = 4; 430 if (defined($self->{'collect_cfg'}->{'maxnumeric'}) && 431 $self->{'collect_cfg'}->{'maxnumeric'} =~ /^\d+$/) { 432 $maxnumeric = $self->{'collect_cfg'}->{'maxnumeric'}; 433 } 425 my $maxnumeric = $self->{'maxnumeric'}; 434 426 435 427 my $osextra = "";
Note:
See TracChangeset
for help on using the changeset viewer.