diff options
Diffstat (limited to 'plugins-scripts/check_flexlm.pl')
| -rwxr-xr-x | plugins-scripts/check_flexlm.pl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins-scripts/check_flexlm.pl b/plugins-scripts/check_flexlm.pl index 1d26b7c8..595a0b34 100755 --- a/plugins-scripts/check_flexlm.pl +++ b/plugins-scripts/check_flexlm.pl | |||
| @@ -26,19 +26,15 @@ | |||
| 26 | # initial version: 9-10-99 Ernst-Dieter Martin edmt@infineon.com | 26 | # initial version: 9-10-99 Ernst-Dieter Martin edmt@infineon.com |
| 27 | # | 27 | # |
| 28 | # License: GPL | 28 | # License: GPL |
| 29 | # $Id$ | ||
| 29 | # | 30 | # |
| 30 | 31 | ||
| 31 | BEGIN { | ||
| 32 | if ($0 =~ m/^(.*?)[\/\\]([^\/\\]+)$/) { | ||
| 33 | $runtimedir = $1; | ||
| 34 | $PROGNAME = $2; | ||
| 35 | } | ||
| 36 | } | ||
| 37 | 32 | ||
| 38 | use strict; | 33 | use strict; |
| 39 | use Getopt::Long; | 34 | use Getopt::Long; |
| 40 | use vars qw($opt_V $opt_h $opt_F $verbose $PROGNAME); | 35 | use vars qw($opt_V $opt_h $opt_F $verbose $PROGNAME); |
| 41 | use lib $main::runtimedir; | 36 | use FindBin ; |
| 37 | use lib "$FindBin::Bin"; | ||
| 42 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); | 38 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); |
| 43 | 39 | ||
| 44 | sub print_help (); | 40 | sub print_help (); |
