Ignore:
Timestamp:
Feb 25, 2019, 12:20:27 PM (7 months ago)
Author:
bruno
Message:

better usae of cluck instead of confess to avoid exiting abrutely when not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/CMS.pm

    r2333 r2362  
    1414
    1515use strict 'vars';
    16 use Carp 'confess';
     16use Carp 'cluck';
    1717use Data::Dumper;
    1818use English;
     
    194194if ((defined $testver) && (defined $testver->{$ENV{'PBPROJ'}}) && ($testver->{$ENV{'PBPROJ'}} =~ /true/i)) {
    195195    if (! -f "$dest/ChangeLog") {
    196         open(CL,"> $dest/ChangeLog") || confess "Unable to create $dest/ChangeLog";
     196        open(CL,"> $dest/ChangeLog") || cluck "Unable to create $dest/ChangeLog" && return;
    197197        # We need a minimal version for debian type of build
    198198        print CL "\n";
Note: See TracChangeset for help on using the changeset viewer.