Changeset 17840 for branches/8.09


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

File:
1 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; 
Note: See TracChangeset for help on using the changeset viewer.