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


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

YAML support working for most distros

  • Fix rebase issues
  • Adds a pbsyncheck script for pre-commit check
  • Fix test deps for centos & fedora
  • update pbcl versions for deb build
File:
1 edited

Legend:

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

    r2278 r2279  
    2222# Inherit from the "Exporter" module which handles exporting functions.
    2323 
    24 use vars qw($VERSION $REVISION @ISA @EXPORT);
     24use vars qw($VERSION $REVISION $PBCONFVER @ISA @EXPORT);
    2525use Exporter;
    2626 
     
    184184
    185185# Read the content of the config file and cache it in the %h hash then available for queries
    186 if ($confver < 0.15) {
     186if ($PBCONFVER < 1) {
    187187    open(CONF,$cf) || confess "Unable to open $cf";
    188188    # This is the original conf file format for versions up to 0.14
     
    333333open(CONF,"> $conffile") || confess "Unable to write into $conffile";
    334334
    335 if ($confver < 0.15) {
     335if ($PBCONFVER < 1) {
    336336    # This is the original conf file format for versions up to 0.14
    337337    foreach my $p (sort keys %$h) {
Note: See TracChangeset for help on using the changeset viewer.