[lintian] 01/01: lintian: Ensure LINTIAN_CFG is always defined
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit ee14d8d9fe2c3028e830befd08a5203116753c58
Author: Niels Thykier <niels@thykier.net>
Date: Fri Jul 17 00:06:17 2015 +0200
lintian: Ensure LINTIAN_CFG is always defined
Lintian emits it as a part of one of its debug information banners.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
frontend/lintian | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/frontend/lintian b/frontend/lintian
index b51e844..6f67f5c 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -662,9 +662,8 @@ if ($opt{'no-cfg'}) {
$opt{'LINTIAN_CFG'} = '';
} else {
if (not $opt{'LINTIAN_CFG'}) {
- $opt{'LINTIAN_CFG'} = _find_cfg_file();
+ $opt{'LINTIAN_CFG'} = _find_cfg_file() // q{};
}
- # _find_cfg_file() can return undef
if ($opt{'LINTIAN_CFG'}) {
parse_config_file($opt{'LINTIAN_CFG'});
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: