Changeset 2261


Ignore:
Timestamp:
Aug 30, 2017, 5:07:42 PM (3 months ago)
Author:
bruno
Message:

Log when handling YAML conf files the filename

Fix also temp pbrc.yml generation in pb

Location:
devel
Files:
3 edited

Legend:

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

    r2257 r2261  
    229229    }
    230230
     231    pb_log(1,"Loading YAML conf file $cf\n");
    231232    $lh = $ldfunc->($cf);
    232233}
     
    353354    }
    354355
     356    pb_log(1,"Writing YAML conf file $conffile\n");
    355357    print CONF $dpfunc->($h);
    356358}
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r2241 r2261  
    546546my $pbos = shift;
    547547
    548 return(pb_distro_setuprepo_gen_conf($pbos,"$ENV{'PBDESTDIR'}/pbrc","addrepo"));
     548return(pb_distro_setuprepo_gen_conf($pbos,"$ENV{'PBDESTDIR'}/pbrc.yml","addrepo"));
    549549}
    550550
  • devel/pb/bin/pb

    r2259 r2261  
    16191619    open(PKG,"> $ENV{'PBDESTDIR'}/$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}.yml") || die "Unable to create $ENV{'PBDESTDIR'}/$ENV{'PBPROJVER'}-$ENV{'PBPROJTAG'}.yml";
    16201620    print PKG "---\n";
     1621    print PKG "pbpkg:\n";
    16211622    foreach my $pbpkg (keys %pkgs) {
    1622         print PKG "pbpkg:\n";
    16231623        print PKG "  $pbpkg: $pkgs{$pbpkg}\n";
    16241624    }
Note: See TracChangeset for help on using the changeset viewer.