Changeset 2268


Ignore:
Timestamp:
Aug 30, 2017, 5:07:49 PM (4 weeks ago)
Author:
bruno
Message:

fix pb_vcs_usage in pv_vcs_add (only pass dir names)

File:
1 edited

Legend:

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

    r2267 r2268  
    4343=head1 NAME
    4444
    45 ProjectBuilder::VCS, part of the project-builder.org
     45ProjectBuilder::VCS, part of project-builder.org
    4646
    4747=head1 DESCRIPTION
     
    536536    confess "cms $scheme unknown";
    537537}
    538 pb_vcs_up($scheme,@f);
     538my @f1;
     539foreach my $f (@f) {
     540    push(@f1,$f) if (-d $f);
     541    push(@f1,dirname($f)) if (-f $f);
     542}
     543pb_vcs_up($scheme,@f1);
    539544}
    540545
     
    755760my ($scheme, $account, $host, $port, $path) = pb_get_uri($pburl->{$ENV{'PBPROJ'}});
    756761pb_vcs_add_if_not_in($scheme,$dest);
    757 
    758 }
     762}
     763
    759764=back
    760765
Note: See TracChangeset for help on using the changeset viewer.