Changeset 2217 in ProjectBuilder for devel


Ignore:
Timestamp:
Mar 17, 2017, 4:03:59 PM (7 years ago)
Author:
Bruno Cornec
Message:

Fix an error whith external repo

When using an external repo the second time we evaluate the list of deps
remaining to be installaed, we should not use the forcerepo flag as it will
make the operation fail despite a real success (seen with FOSSology and stop
at error)

File:
1 edited

Legend:

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

    r2189 r2217  
    364364}
    365365# Check that all deps have been installed correctly
    366 $deps = pb_distro_getdeps($f, $pbos, $forcerepo);
     366# This time we don't forcerepo to avoid getting a list as a return as we have
     367# already forced it previously, and this time we just want to check
     368$deps = pb_distro_getdeps($f, $pbos, undef);
    367369confess "Some dependencies did not install ($deps)" if ((defined $deps) && ($deps =~ /\S/) && ($Global::pb_stop_on_error));
    368370}
Note: See TracChangeset for help on using the changeset viewer.