ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/ToolDoc.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/ToolDoc.pm (file contents):
Revision 1.1.2.13 by williamc, Tue Jun 20 17:05:35 2000 UTC vs.
Revision 1.1.2.14 by williamc, Thu Jun 22 08:41:52 2000 UTC

# Line 352 | Line 352 | sub Environment_Start {
352             # check other installed copies of the tool
353             my ($rv,@params)=
354                  $self->_toolparamcopy($self->{tool},$$hashref{'name'});
355 <           if ( $rv ) {
356 <              $self->{Envvalue}=$params[0]; # assume single val parameter!
355 >           if ( $rv && ($#params == 0)) { #dont use multivalued params!
356 >              $self->{Envvalue}=$params[0]; # single val parameter
357             }
358             elsif ( defined $ENV{$$hashref{'name'}} ) {
359                # check the environment

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines