Ignore:
Timestamp:
May 24, 2012, 3:41:09 AM (7 years ago)
Author:
bruno
Message:
  • Fix a bug in VE context around the chown part (no quotes without the sudo)
  • Improve mageia 2 deps
  • pbtest is nearly at the end
File:
1 edited

Legend:

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

    r1584 r1594  
    228228=item B<pb_conf_get_in_hash_if>
    229229
    230 This function returns a table, corresponding to a set of values queried in the hash passe in parameter or undef if it doen't exist. It takes a table of keys as an input parameter.
     230This function returns a table, corresponding to a set of values queried in the hash passed in parameter or undef if it doesn't exist.
     231It takes a table of keys as an input parameter.
    231232
    232233=cut
     
    282283sub pb_conf_get_if {
    283284
    284 my @params = @_;
    285 my @ptr = undef;
    286 
    287 return(pb_conf_get_in_hash_if($h,@params));
     285return(pb_conf_get_in_hash_if($h,@_));
    288286}
    289287
     
    346344            if (not defined $p1->{$ENV{'PBPROJ'}}) {
    347345                if (defined $p2->{$ENV{'PBPROJ'}}) {
    348                     $p1->{$ENV{'PBPROJ'}} = $p2->{$ENV{'PBPROJ'}} if (defined $p2->{$ENV{'PBPROJ'}});
     346                    $p1->{$ENV{'PBPROJ'}} = $p2->{$ENV{'PBPROJ'}};
    349347                } else {
    350348                    $p1->{$ENV{'PBPROJ'}} = $p1->{'default'} if (defined $p1->{'default'});
Note: See TracChangeset for help on using the changeset viewer.