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


Ignore:
Timestamp:
May 13, 2012, 1:03:52 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • vmmonport is now optional
  • vmmem is also now really optional (wasn't working before as wasn't correctly tested)
  • We are allowed to kill the sleep during VMs wait without it aborting the process
  • newv(e|m) doesn't require execution of cms2build before being available
  • Fix another git support error introduced earlier
Location:
devel/pb-modules/lib/ProjectBuilder
Files:
3 edited

Legend:

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

    r1539 r1540  
    112112    'nover' => "false",
    113113    'rmdot' => "false",
     114    'useminor' => "false",
    114115    };
    115116$pbos->{'name'} = shift;
     
    644645sub pb_distro_get_param {
    645646
    646 my @param;
     647my @param = ();
    647648my $pbos = shift;
    648649
  • devel/pb-modules/lib/ProjectBuilder/Env.pm

    r1528 r1540  
    12101210    umask 0022;
    12111211    return(\%filteredfiles, \%supfiles, \%defpkgdir, \%extpkgdir);
     1212} elsif ($action =~ /^newv/) {
     1213    # No PBDESTDIR yet so doing nothing
     1214    return;
    12121215} else {
    12131216    # Setup the variables from what has been stored at the end of cms2build
  • devel/pb-modules/lib/ProjectBuilder/VCS.pm

    r1539 r1540  
    267267} elsif ($scheme =~ /^git/) {
    268268    open(GIT,"git --git-dir=$dir/.git remote -v |") || return("");
    269     while (<GITRC>) {
     269    while (<GIT>) {
    270270        next unless (/^origin\s+(\S+) \(push\)$/);
    271271        return $1;
    272272    }
    273     close(GITRC);
     273    close(GIT);
    274274    warn "Unable to find origin remote for $dir";
    275275    return "";
Note: See TracChangeset for help on using the changeset viewer.