Changeset 2361 in ProjectBuilder


Ignore:
Timestamp:
Feb 25, 2019, 12:20:26 PM (6 years ago)
Author:
Bruno Cornec
Message:

exits when conf errors are detected instead of going on

File:
1 edited

Legend:

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

    r2360 r2361  
    229229    if (defined $ambiguous_rel_files->{$d}) {
    230230        print STDERR "The key $d is considered as both unambiguous and ambigous.\n";
    231         print STDERR "Please fix your configuration file.\n"
     231        confess "Please fix your configuration file.\n"
    232232    }
    233233    if (-f "$r" && ! -l "$r") {
     
    240240            if (not defined ($nover->{$d})) {
    241241                print STDERR "Unable to find $d version in $r (non-ambiguous)\n";
    242                 print STDERR "Please report to the maintainer bruno_at_project-builder.org\n";
     242                confess "Please report to the maintainer bruno_at_project-builder.org\n";
    243243            }
    244244            $release = "unknown";
Note: See TracChangeset for help on using the changeset viewer.