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



--
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110918230418.ga...@jwilk.net

Reply via email to