[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] Fix "Use of uninitialized value $LINTIAN_CFG" in debug output



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • f03fc15a
    by Axel Beckert at 2023-03-05T16:26:04+01:00
    Fix "Use of uninitialized value $LINTIAN_CFG" in debug output
    

1 changed file:

Changes:

  • bin/lintian
    ... ... @@ -614,7 +614,7 @@ unless (@ARGV || $selected{'packages-from-file'}) {
    614 614
     if ($selected{debug}) {
    
    615 615
         say {*STDERR} encode_utf8("Lintian v$ENV{LINTIAN_VERSION}");
    
    616 616
         say {*STDERR} encode_utf8("Lintian root directory: $ENV{LINTIAN_BASE}");
    
    617
    -    say {*STDERR} encode_utf8("Configuration file: $LINTIAN_CFG");
    
    617
    +    say {*STDERR} encode_utf8('Configuration file: '.($LINTIAN_CFG//'(none)'));
    
    618 618
     }
    
    619 619
     
    
    620 620
     if (defined $selected{LINTIAN_PROFILE}) {
    


  • Reply to: