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

Comparing COMP/SCRAM/src/BuildSystem/BuildFile.pm (file contents):
Revision 1.2 by williamc, Mon Aug 28 08:23:08 2000 UTC vs.
Revision 1.3 by williamc, Wed Sep 6 10:17:28 2000 UTC

# Line 2 | Line 2
2   #
3   # Interface
4   # ---------
5 < # new(toolbox)
5 > # new(ConfigArea)
6   # ParseBuildFile($base,$path,$file)
7   # ParseBuildFileExport(filename)
8   # BlockClassPath() : Return the class path
# Line 21 | Line 21 | sub new {
21          my $class=shift;
22          my $self={};
23          bless $self, $class;
24 <        $self->{toolbox}=shift;
24 >        $self->{area}=shift;
25 >        $self->{toolbox}=$self->{area}->toolbox();
26          $self->{Arch}=1;
27          push @{$self->{ARCHBLOCK}}, $self->{Arch};
28          return $self;
# Line 169 | Line 170 | ENDTEXT
170   sub ParseBuildFile_Export {
171          my $self=shift;
172          my $filename=shift;
173 <        my $bf=BuildSystem::BuildFile->new($self->{toolbox});
173 >        my $bf=BuildSystem::BuildFile->new($self->{area});
174          if ( defined $self->{remoteproject} ) {
175             $bf->{remoteproject}=$self->{remoteproject};
176          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines