Changeset 1907 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Conf.pm


Ignore:
Timestamp:
Oct 10, 2014, 11:32:12 AM (10 years ago)
Author:
Bruno Cornec
Message:
Fix some default initializations (
undef e.g.)
  • VE.pm doesn't need to have pbstep (use pbforce simply)
  • Fix sbx2setupve in a docker context
  • Add entries for prepve|vm|rm
  • Move sandbox management into send2target so that all files to process are managed here
File:
1 edited

Legend:

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

    r1905 r1907  
    7878sub pb_conf_init {
    7979
    80 my $proj=shift || undef;
     80my $proj=shift;
    8181
    8282pb_log(1,"Entering pb_conf_init\n");
     
    240240open(CONF,"> $conffile") || confess "Unable to write into $conffile";
    241241
    242 foreach my $p (keys %$h) {
     242foreach my $p (sort keys %$h) {
    243243    my $j = $h->{$p};
    244     foreach my $k (keys %$j) {
     244    foreach my $k (sort keys %$j) {
    245245        print CONF "$p $k = $j->{$k}\n";
    246246    }
     
    321321sub pb_conf_add_last_in_hash {
    322322
    323 my $ptr = shift || undef;
     323my $ptr = shift;
    324324
    325325return if (not defined $ptr);
Note: See TracChangeset for help on using the changeset viewer.