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

lintian: r807 - trunk/checks



Author: jaalto
Date: 2007-01-30 08:28:12 +0100 (Tue, 30 Jan 2007)
New Revision: 807

Modified:
   trunk/checks/menus
Log:
* checks/menus
  + [JA] Fixed perl -cw errors, e.g. rewrote
    <use lib "$ENV{'LINTIAN_ROOT'}/checks/"> calls.
    Removed extra empty newlines. 



Modified: trunk/checks/menus
===================================================================
--- trunk/checks/menus	2007-01-30 07:21:11 UTC (rev 806)
+++ trunk/checks/menus	2007-01-30 07:28:12 UTC (rev 807)
@@ -22,7 +22,7 @@
 
 package Lintian::menus;
 use strict;
-use lib "$ENV{'LINTIAN_ROOT'}/checks/";
+BEGIN { push @INC, "$ENV{LINTIAN_ROOT}/checks/" if defined $ENV{LINTIAN_ROOT}; }
 use common_data;
 use Tags;
 use Util;



Reply to: