Changeset 1027 in ProjectBuilder for devel/pb-modules/lib


Ignore:
Timestamp:
May 21, 2010, 3:29:59 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Adds rbsopt parameter + doc to allow for passing options to rpmbootstrap such as -k now by default.
  • Mandriva VE are now working (tested with 2010.0 + package list fixed)
Location:
devel/pb-modules/lib/ProjectBuilder
Files:
2 edited

Legend:

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

    r963 r1027  
    216216=item B<pb_conf_fromfile_if>
    217217
    218 This function returns a pointer on a table, corresponding to a merge of values querried in the conf file and the pointer on another table passed as parameter. It takes a table of keys as last input parameter.
     218This function returns a pointer on a table, corresponding to a merge of values queried in the conf file and the pointer on another table passed as parameter. It takes a table of keys as last input parameter.
    219219
    220220  my ($k1) = pb_conf_fromfile_if("$HOME/.pbrc",undef,"pbver","pblist");
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r982 r1027  
    167167my ($d,$r);
    168168while (($d,$r) = each %$single_rel_files) {
     169    if (defined $ambiguous_rel_files->{$d}) {
     170        print STDERR "The key $d is considered as both unambiguous and ambigous.\n";
     171        print STDERR "Please fix your configuration file.\n";
     172    }
    169173    if (-f "$r" && ! -l "$r") {
    170174        my $tmp=pb_get_content("$r");
     
    183187
    184188# Now look at ambiguous files
    185 # Ubuntu includes a /etc/debian_version file that creates an ambiguity with debian
     189# Ubuntu before 10.04 includes a /etc/debian_version file that creates an ambiguity with debian
    186190# So we need to look at distros in reverse alphabetic order to treat ubuntu always first via lsb
    187191foreach $d (reverse keys %$ambiguous_rel_files) {
Note: See TracChangeset for help on using the changeset viewer.