]> git.pld-linux.org Git - packages/nagios-plugins.git/blob - use-lib.patch
- update R:ping
[packages/nagios-plugins.git] / use-lib.patch
1
2 upstream link:
3 https://github.com/nagios-plugins/nagios-plugins/pull/109
4
5 also:
6 https://github.com/monitoring-plugins/monitoring-plugins/pull/1360
7
8 --- nagios-plugins-2.1.1/plugins-scripts/check_file_age.pl~     2015-08-05 22:45:01.000000000 +0300
9 +++ nagios-plugins-2.1.1/plugins-scripts/check_file_age.pl      2015-10-02 13:47:44.633618522 +0300
10 @@ -26,7 +26,8 @@
11  use Getopt::Long;
12  use File::stat;
13  use vars qw($PROGNAME);
14 -use lib ".";
15 +use FindBin;
16 +use lib "$FindBin::Bin";
17  use utils qw (%ERRORS &print_revision &support);
18  
19  sub print_help ();
This page took 0.053371 seconds and 3 git commands to generate.