Changeset 2266 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Conf.pm


Ignore:
Timestamp:
Aug 30, 2017, 5:07:47 PM (7 years ago)
Author:
Bruno Cornec
Message:

conf_update_v0 now adds to VCS the file generated

File:
1 edited

Legend:

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

    r2264 r2266  
    1919use ProjectBuilder::Base;
    2020use ProjectBuilder::Version;
    21 #use YAML;
     21use ProjectBuilder::VCS;
    2222
    2323# Inherit from the "Exporter" module which handles exporting functions.
     
    594594close(ORIG);
    595595close(DEST);
     596# Adding this new file to VCS (not removing the previous one)
     597my ($pburl) = pb_conf_get("pburl");
     598my ($scheme, $account, $host, $port, $path) = pb_get_uri($pburl->{$ENV{'PBPROJ'}});
     599pb_vcs_add_if_not_in($scheme,$dest);
    596600return();
    597601}
Note: See TracChangeset for help on using the changeset viewer.