Changeset 2350


Ignore:
Timestamp:
Feb 15, 2019, 6:26:47 AM (5 weeks ago)
Author:
bruno
Message:

Improve printing for getconf

Location:
devel
Files:
2 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}
  • devel/pb/bin/pb

    r2337 r2350  
    879879}
    880880
    881 pb_log(0,"Project: $ENV{'PBPROJ'}\n");
    882 pb_log(0,"Action: $action\n");
     881if ($action ne "getconf") {
     882    pb_log(0,"Project: $ENV{'PBPROJ'}\n");
     883    pb_log(0,"Action: $action\n");
     884}
    883885
    884886my $do_install = undef;
Note: See TracChangeset for help on using the changeset viewer.