Changeset 1553 in ProjectBuilder for devel/pb-modules
- Timestamp:
- May 21, 2012, 3:06:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r1540 r1553 33 33 34 34 our @ISA = qw(Exporter); 35 our @EXPORT = qw(pb_distro_conffile pb_distro_get pb_distro_getlsb pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_setuposrepo pb_distro_get_param pb_distro_get_context );35 our @EXPORT = qw(pb_distro_conffile pb_distro_get pb_distro_getlsb pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_setuposrepo pb_distro_get_param pb_distro_get_context pb_distro_to_keylist); 36 36 ($VERSION,$REVISION) = pb_version_init(); 37 37 … … 605 605 } 606 606 607 =item B<pb_ pbos_to_keylist>608 609 Given a pbos object and the generic key, get the list of possible keys for looking up variable for607 =item B<pb_distro_to_keylist> 608 609 Given a pbos object (first param) and the generic key (second param), get the list of possible keys for looking up variable for 610 610 filter names. The list will be sorted most-specific to least specific. 611 611 612 612 =cut 613 613 614 sub pb_ pbos_to_keylist ($$) {614 sub pb_distro_to_keylist ($$) { 615 615 616 616 my ($pbos, $generic) = @_; … … 648 648 my $pbos = shift; 649 649 650 my @keylist = pb_ pbos_to_keylist($pbos,"default");650 my @keylist = pb_distro_to_keylist($pbos,"default"); 651 651 pb_log(2,"DEBUG: pb_distro_get_param on $pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'} for ".Dumper(@_)."\n"); 652 652 foreach my $opt (@_) {
Note:
See TracChangeset
for help on using the changeset viewer.