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

Comparing COMP/SCRAM/src/BuildSystem/BuildSetup.pm (file contents):
Revision 1.1.2.2 by williamc, Wed Apr 19 14:14:32 2000 UTC vs.
Revision 1.1.2.3 by williamc, Thu Apr 20 11:33:26 2000 UTC

# Line 35 | Line 35 | sub _generateexternals {
35  
36          # -- specifiy these files for dependency information
37          my $depfile=$ENV{projconfigdir}."/External_Dependencies";
38 <        my $clientfile="$ENV{LOCALTOP}/.SCRAM/$ENV{SCRAM_ARCH}/clientsettings";
39 <        my $clientreq="$ENV{LOCALTOP}/.SCRAM/$ENV{SCRAM_ARCH}/".
40 <                        "clientsettings_reqs";
38 >
39 >        # -- get list of dependent files
40 >        my $datadir=$ENV{LOCALTOP}."/.SCRAM/".$ENV{SCRAM_ARCH};
41 >        $fdir=FileHandle->new();
42 >        opendir $fdir, $datadir or die
43 >                        "unable to access $datadir $!\n";
44 >        my @depfiles=grep !/^\.\.?$/, readdir $fdir;
45 >        undef $fdir;
46 >        for (my $i=0; $i<=$#depfiles; $i++ ) {
47 >           $depfiles[$i]=$datadir."/".$depfiles[$i];
48 >        }
49 >
50          # -- do we need to rebuild?
51 <        if ( SCRAMUtils::dated($outfile,$depfile, $clientfile,$clientreq) ) {
51 >        if ( SCRAMUtils::dated($outfile,@depfiles) ) {
52            print "Configuring Local Area\n";
53            # -- open output file
54            my $fout=FileHandle->new();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines