Changeset 17840


Ignore:
Timestamp:
2009-10-03T22:01:22+02:00 (7 years ago)
Author:
nico
Message:

[scripts] metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/scripts/metadata.pl

    r15745 r17840  
    384384        foreach my $depend (@depends) { 
    385385                my $m = "depends"; 
    386                 $depend =~ s/^([@\+]+)//; 
    387                 my $flags = $1; 
     386                my $flags = ""; 
     387                $depend =~ s/^([@\+]+)// and $flags = $1; 
    388388                my $vdep; 
    389389                my $condition = $parent_condition; 
  • trunk/scripts/metadata.pl

    r17347 r17840  
    416416        foreach my $depend (@depends) { 
    417417                my $m = "depends"; 
    418                 $depend =~ s/^([@\+]+)//; 
    419                 my $flags = $1; 
     418                my $flags = ""; 
     419                $depend =~ s/^([@\+]+)// and $flags = $1; 
    420420                my $vdep; 
    421421                my $condition = $parent_condition; 
Note: See TracChangeset for help on using the changeset viewer.