Changeset 61


Ignore:
Timestamp:
Aug 31, 2007, 1:03:51 AM (13 years ago)
Author:
Bruno Cornec
Message:

Check if a package has files to filter before calling them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r60 r61  
    225225                    filter_file("$ENV{'PBROOT'}/$f",$ptr,"$dest/pbconf/$ddir-$dver/".basename($f),$pbpkg,$dtype,$dsuf);
    226226                }
    227                 foreach my $f (split(/,/,$filteredfiles{$dir})) {
    228                     filter_file("$ENV{'PBROOT'}/$dir/$f",$ptr,"$dest/$f",$pbpkg,$dtype,$dsuf);
     227                if (defined $filteredfiles{$dir}) {
     228                    foreach my $f (split(/,/,$filteredfiles{$dir})) {
     229                        filter_file("$ENV{'PBROOT'}/$dir/$f",$ptr,"$dest/$f",$pbpkg,$dtype,$dsuf);
     230                    }
    229231                }
    230232            }
Note: See TracChangeset for help on using the changeset viewer.