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.9 by sashby, Mon Nov 19 18:46:39 2001 UTC vs.
Revision 1.10 by sashby, Tue Feb 19 17:43:28 2002 UTC

# Line 480 | Line 480 | sub _toolparamcopy {
480  
481          my $rv=0;
482          my @params=();
483 +
484          $self->verbose("Check Other Projects for tool");
485          my @validtools=();
486          if ( defined $self->{toolboxsearcher} ) {
# Line 505 | Line 506 | sub _getparamsets {
506  
507          my @paramlist=();
508          my @params=();
509 +
510 +        # Check for an override of the searcher. If the
511 +        # variable SEARCHOVRD is set, we return an empty array:
512 +        if ( $ENV{'SEARCHOVRD'} eq 'true' )
513 +           {
514 +           $self->verbose("Searching for tool settings from other projects OVERRIDDEN");
515 +           # This bypasses the menu option presented to the user when there is more than one
516 +           # choice for the tool location:
517 +           return @paramlist;
518 +           }
519 +        # Otherwise we proceed as normal:
520          $self->verbose("Searching for parameter settings in other tools");
521          my @validtools=();
522          if ( defined $self->{toolboxsearcher} ) {
523 <          @validtools=$self->_searchtools($tool,$self->{toolboxsearcher});
524 <        }
523 >         @validtools=$self->_searchtools($tool,$self->{toolboxsearcher});
524 >        }
525          else {
526            $self->verbose("No tool searcher available");
527          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines