Changeset 14430


Ignore:
Timestamp:
2021-02-11T08:49:41+01:00 (6 months ago)
Author:
smasson
Message:

FCM: update Build Task?.pm to avoid circular dependency, ticket:2598#comment:37

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendors/FCM/lib/Fcm/BuildTask.pm

    r2281 r14430  
    124124 
    125125  return unless $self->actiontype; 
     126 
     127  if ( defined $self->srcfile ) { 
     128    my $bname = basename($self->srcfile->src) ; 
     129    for my $depend (@{ $self->dependency }) { 
     130      if ( $bname eq $depend ) { 
     131       # Recursion suspected 
     132       return; 
     133      } 
     134    } 
     135  } 
    126136 
    127137  my $uptodate     = 1; 
Note: See TracChangeset for help on using the changeset viewer.