Changeset 757 in ProjectBuilder


Ignore:
Timestamp:
Apr 4, 2009, 7:53:45 PM (15 years ago)
Author:
Bruno Cornec
Message:

Should initialize arch systematically

File:
1 edited

Legend:

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

    r756 r757  
    8888# If we don't know which distribution we're on, then guess it
    8989($ddir,$dver) = pb_distro_get() if ((not defined $ddir) || (not defined $dver));
     90
     91# Initialize arch
     92$arch=pb_get_arch() if (not defined $arch);
    9093
    9194# There should be unicity of names between ddir dfam and dtype
     
    127130
    128131    # By defaut propose yum
    129     $arch=pb_get_arch() if (not defined $arch);
    130132    my $opt = "";
    131133    if ($arch eq "x86_64") {
Note: See TracChangeset for help on using the changeset viewer.