Ignore:
Timestamp:
Feb 15, 2019, 6:26:47 AM (5 years ago)
Author:
Bruno Cornec
Message:

Improve printing for getconf

File:
1 edited

Legend:

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

    r2338 r2350  
    878878my $pbos = shift;
    879879my @keys = @_;
     880my $all = 0;
    880881
    881882if ($#keys == -1) {
     
    883884    pb_log(0,"================================================\n");
    884885    @keys = pb_conf_get_all();
     886    $all = 1;
    885887}
    886888if (defined $ENV{'PBV'}) {
     
    908910foreach my $r (keys %rep) {
    909911    pb_log(1, "$r => ");
    910     pb_log(0, "$rep{$r}\n");
     912    pb_log(0, "$rep{$r}\n") if ($all == 0);
     913    pb_log(0, "$r = $rep{$r}\n") if ($all == 1);
    911914}
    912915}
Note: See TracChangeset for help on using the changeset viewer.