Bug#642047: [private/generate-profiles.pl] doesn't work without LINTIAN_ROOT set
Package: lintian
Version: 2.5.3
Severity: wishlist
If LINTIAN_ROOT is unset private/generate-profiles.pl just dies:
$ private/generate-profiles.pl
Use of uninitialized value $ENV{"LINTIAN_ROOT"} in concatenation (.) or string at private/generate-profiles.pl line 19.
Can't locate Lintian/Data.pm in @INC (@INC contains: /lib /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at private/generate-profiles.pl line 20.
BEGIN failed--compilation aborted at private/generate-profiles.pl line 20.
This is a bit annoying and also inconsistent with behavior of other
private/ scripts (which either don't care about LINTIAN_ROOT at all or
at least default to the current working directory if the variable is
unset).
--
Jakub Wilk
Reply to: