diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-07-06 17:55:03 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-07-06 17:55:03 (GMT) |
commit | 1f4fd12845a2041df3f34f7a84d8012e747e327c (patch) | |
tree | 1524e7a4def106f54d86b36ea3a114638b1141d6 /plugins-scripts/check_flexlm.pl | |
parent | ba21e26443385dd283d08e0419ff6ff25fedd0e8 (diff) | |
download | monitoring-plugins-1f4fd12845a2041df3f34f7a84d8012e747e327c.tar.gz |
Don't rely on FindBin module to locate utils.pm
As the FindBin module doesn't work with ePN, set the path to utils.pm
explicitly at build time. Keep using FindBin additionally, so that the
plugins can also be executed from the build directory.
Closes #1271.
Diffstat (limited to 'plugins-scripts/check_flexlm.pl')
-rwxr-xr-x | plugins-scripts/check_flexlm.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-scripts/check_flexlm.pl b/plugins-scripts/check_flexlm.pl index 49d674d..5f3ed59 100755 --- a/plugins-scripts/check_flexlm.pl +++ b/plugins-scripts/check_flexlm.pl | |||
@@ -37,6 +37,7 @@ use Getopt::Long; | |||
37 | use vars qw($opt_V $opt_h $opt_F $opt_t $verbose $PROGNAME); | 37 | use vars qw($opt_V $opt_h $opt_F $opt_t $verbose $PROGNAME); |
38 | use FindBin; | 38 | use FindBin; |
39 | use lib "$FindBin::Bin"; | 39 | use lib "$FindBin::Bin"; |
40 | use lib '@libexecdir@'; | ||
40 | use utils qw(%ERRORS &print_revision &support &usage); | 41 | use utils qw(%ERRORS &print_revision &support &usage); |
41 | 42 | ||
42 | $PROGNAME="check_flexlm"; | 43 | $PROGNAME="check_flexlm"; |