diff options
Diffstat (limited to 'plugins-scripts/check_wave.pl')
-rwxr-xr-x | plugins-scripts/check_wave.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins-scripts/check_wave.pl b/plugins-scripts/check_wave.pl index 2671112a..979416e0 100755 --- a/plugins-scripts/check_wave.pl +++ b/plugins-scripts/check_wave.pl | |||
@@ -1,9 +1,10 @@ | |||
1 | #!/usr/bin/perl -wT | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | 3 | ||
4 | 4 | ||
5 | use strict; | 5 | use strict; |
6 | use lib utils.pm; | 6 | use FindBin; |
7 | use lib "$FindBin::Bin"; | ||
7 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 8 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
8 | use vars qw($PROGNAME); | 9 | use vars qw($PROGNAME); |
9 | use Getopt::Long; | 10 | use Getopt::Long; |
@@ -15,7 +16,7 @@ $PROGNAME = "check_wave"; | |||
15 | sub print_help (); | 16 | sub print_help (); |
16 | sub print_usage (); | 17 | sub print_usage (); |
17 | 18 | ||
18 | $ENV{'PATH'}=''; | 19 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
19 | $ENV{'BASH_ENV'}=''; | 20 | $ENV{'BASH_ENV'}=''; |
20 | $ENV{'ENV'}=''; | 21 | $ENV{'ENV'}=''; |
21 | 22 | ||