Changeset 2251 in ProjectBuilder for devel/pb/lib
- Timestamp:
- Aug 30, 2017, 5:07:30 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/Filter.pm
r2139 r2251 53 53 This function gets all filters to apply. They're cumulative from the less specific to the most specific. 54 54 55 Suffix of those filters is . pbf. Filter all.pbfapplies to whatever distribution. The pbfilter directory may be global under pbconf or per package, for overloading values. Then in order filters are loaded for distribution type, distribution family, distribution name, distribution name-version.55 Suffix of those filters is .yml. Filter all.yml applies to whatever distribution. The pbfilter directory may be global under pbconf or per package, for overloading values. Then in order filters are loaded for distribution type, distribution family, distribution name, distribution name-version. 56 56 57 57 The first parameter is the package name. … … 78 78 foreach my $dir ("$ENV{PBROOTDIR}/pbfilter", "$ENV{PBROOTDIR}/$pbpkg/pbfilter") { 79 79 foreach my $file_basename (@file_basenames) { 80 my $path = "$dir/${file_basename}. pbf";80 my $path = "$dir/${file_basename}.yml"; 81 81 push(@ffiles, $path) if -f $path; 82 82 }
Note:
See TracChangeset
for help on using the changeset viewer.