diff options
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
| -rwxr-xr-x | plugins-scripts/check_file_age.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index 5e062deb..453e0f55 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl | |||
| @@ -25,7 +25,9 @@ use English; | |||
| 25 | use Getopt::Long; | 25 | use Getopt::Long; |
| 26 | use File::stat; | 26 | use File::stat; |
| 27 | use vars qw($PROGNAME); | 27 | use vars qw($PROGNAME); |
| 28 | use lib "."; | 28 | use FindBin; |
| 29 | use lib "$FindBin::Bin"; | ||
| 30 | use lib '@libexecdir@'; | ||
| 29 | use utils qw (%ERRORS &print_revision &support); | 31 | use utils qw (%ERRORS &print_revision &support); |
| 30 | 32 | ||
| 31 | sub print_help (); | 33 | sub print_help (); |
