summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_wave.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_wave.pl')
-rwxr-xr-xplugins-scripts/check_wave.pl10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins-scripts/check_wave.pl b/plugins-scripts/check_wave.pl
index c6e6c66..6d58e4f 100755
--- a/plugins-scripts/check_wave.pl
+++ b/plugins-scripts/check_wave.pl
@@ -3,15 +3,9 @@
3# $Id$ 3# $Id$
4 4
5 5
6BEGIN {
7 if ($0 =~ m/^(.*?)[\/\\]([^\/\\]+)$/) {
8 $runtimedir = $1;
9 $PROGNAME = $2;
10 }
11}
12
13use strict; 6use strict;
14use lib $main::runtimedir; 7use FindBin;
8use lib "$Findbin::Bin";
15use utils qw($TIMEOUT %ERRORS &print_revision &support); 9use utils qw($TIMEOUT %ERRORS &print_revision &support);
16use vars qw($PROGNAME); 10use vars qw($PROGNAME);
17use Getopt::Long; 11use Getopt::Long;