summaryrefslogtreecommitdiffstats
path: root/web/attachments/121782-nagiosplug-cvs-perl-uselib.diff
blob: 24e128b46f95547c1d8c971c02953f6d7e4a78eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -urN ./plugins-scripts/check_file_age.pl ../plugins/plugins-scripts/check_file_age.pl
--- ./plugins-scripts/check_file_age.pl	2003-10-21 17:56:35.000000000 +0200
+++ ../plugins/plugins-scripts/check_file_age.pl	2005-02-18 13:08:06.000000000 +0100
@@ -27,7 +27,7 @@
 use Getopt::Long;
 use File::stat;
 use vars qw($PROGNAME);
-use lib ".";
+use lib utils.pm;
 use utils qw (%ERRORS &print_revision &support);
 
 sub print_help ();
diff -urN ./plugins-scripts/check_mssql.pl ../plugins/plugins-scripts/check_mssql.pl
--- ./plugins-scripts/check_mssql.pl	2004-04-19 15:10:48.000000000 +0200
+++ ../plugins/plugins-scripts/check_mssql.pl	2005-02-18 13:08:13.000000000 +0100
@@ -30,7 +30,7 @@
 use DBI;
 use DBD::Sybase;
 use Getopt::Long;
-use lib ".";
+use lib utils.pm;
 use utils qw($TIMEOUT %ERRORS &print_revision &support);
 use strict;