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


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

Use .pbrc.yml now as a YAML file as well instead of .pbrc

File:
1 edited

Legend:

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

    r2250 r2252  
    6262  # Read hash codes of values from a configuration file and return table of pointers
    6363  #
    64   my ($k1, $k2) = pb_conf_read_if("$ENV{'HOME'}/.pbrc","key1","key2");
    65   my ($k) = pb_conf_read("$ENV{'HOME'}/.pbrc","key");
     64  my ($k1, $k2) = pb_conf_read_if("$ENV{'HOME'}/.pbrc.yml","key1","key2");
     65  my ($k) = pb_conf_read("$ENV{'HOME'}/.pbrc.yml","key");
    6666
    6767=head1 USAGE
Note: See TracChangeset for help on using the changeset viewer.