Ignore:
Timestamp:
Feb 8, 2010, 3:47:36 AM (9 years ago)
Author:
bruno
Message:

r3658@localhost: bruno | 2010-02-07 00:15:25 +0100

  • Fix a bug in newve, by calling pb_distrib_init earlier to have the loading of the pb.conf main conf file, used to install default packages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Conf.pm

    r932 r963  
    9393    # Add the new one at the end
    9494    my $num = keys %pbconffiles;
     95    pb_log(2,"DEBUG: pb_conf_add $cf at position $num\n");
    9596    $pbconffiles{$cf} = $num;
    9697}
     
    169170=item B<pb_conf_get_if>
    170171
    171 This function returns a table, corresponding to a set of values querried in the conf files or undef if it doen't exist. It takes a table of keys as an input parameter.
     172This function returns a table, corresponding to a set of values queried in the conf files or undef if it doen't exist. It takes a table of keys as an input parameter.
    172173
    173174The format of the configurations file is as follows:
     
    206207# the most important conf file is first, so read them in reverse order
    207208foreach my $f (reverse sort { $pbconffiles{$a} <=> $pbconffiles{$b} } keys %pbconffiles) {
     209    pb_log(2,"DEBUG: pb_conf_get_if in file $f\n");
    208210    $ptr = pb_conf_get_fromfile_if("$f",$ptr,@param);
    209211}
     
    241243my $p2;
    242244
    243 pb_log(2,"DEBUG: pb_conf_get $conffile: ".Dumper(@ptr1)."\n");
    244 pb_log(2,"DEBUG: pb_conf_get input: ".Dumper(@ptr2)."\n");
    245 pb_log(2,"DEBUG: pb_conf_get param: ".Dumper(@param)."\n");
     245pb_log(2,"DEBUG: pb_conf_get_from_file $conffile: ".Dumper(@ptr1)."\n");
     246pb_log(2,"DEBUG: pb_conf_get_from_file input: ".Dumper(@ptr2)."\n");
     247pb_log(2,"DEBUG: pb_conf_get_from_file param: ".Dumper(@param)."\n");
    246248
    247249foreach my $i (0..$#param) {
Note: See TracChangeset for help on using the changeset viewer.