diff options
Diffstat (limited to 'plugins-scripts/check_breeze.pl')
-rwxr-xr-x | plugins-scripts/check_breeze.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins-scripts/check_breeze.pl b/plugins-scripts/check_breeze.pl index a4e8542c..12a60ee6 100755 --- a/plugins-scripts/check_breeze.pl +++ b/plugins-scripts/check_breeze.pl | |||
@@ -1,10 +1,11 @@ | |||
1 | #!/usr/bin/perl -wT | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | 3 | ||
4 | use strict; | 4 | use strict; |
5 | use Getopt::Long; | 5 | use Getopt::Long; |
6 | use vars qw($opt_V $opt_h $opt_w $opt_c $opt_H $opt_C $PROGNAME); | 6 | use vars qw($opt_V $opt_h $opt_w $opt_c $opt_H $opt_C $PROGNAME); |
7 | use lib utils.pm ; | 7 | use FindBin; |
8 | use lib "$FindBin::Bin"; | ||
8 | use utils qw(%ERRORS &print_revision &support &usage); | 9 | use utils qw(%ERRORS &print_revision &support &usage); |
9 | 10 | ||
10 | $PROGNAME = "check_breeze"; | 11 | $PROGNAME = "check_breeze"; |
@@ -12,7 +13,7 @@ $PROGNAME = "check_breeze"; | |||
12 | sub print_help (); | 13 | sub print_help (); |
13 | sub print_usage (); | 14 | sub print_usage (); |
14 | 15 | ||
15 | $ENV{'PATH'}=''; | 16 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
16 | $ENV{'BASH_ENV'}=''; | 17 | $ENV{'BASH_ENV'}=''; |
17 | $ENV{'ENV'}=''; | 18 | $ENV{'ENV'}=''; |
18 | 19 | ||