diff options
author | Tor Egge <Tor.Egge@verizonmedia.com> | 2020-01-17 14:43:18 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@verizonmedia.com> | 2020-01-17 14:43:18 +0100 |
commit | 3d5da88ecbb49fb238aa877853b6204d08d49f64 (patch) | |
tree | 60fe64b5a974ea9af0a2a9c7bcf8fd11a6a2b7ed /vespaclient/src/perl/bin | |
parent | 5d5f6c553a3f7c127429282322f1f7c7d2ec4081 (diff) |
Don't use local variable in use lib statement.
Diffstat (limited to 'vespaclient/src/perl/bin')
-rwxr-xr-x | vespaclient/src/perl/bin/GetClusterState.pl | 2 | ||||
-rwxr-xr-x | vespaclient/src/perl/bin/GetNodeState.pl | 2 | ||||
-rwxr-xr-x | vespaclient/src/perl/bin/SetNodeState.pl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vespaclient/src/perl/bin/GetClusterState.pl b/vespaclient/src/perl/bin/GetClusterState.pl index a60433cc391..385ae6cca89 100755 --- a/vespaclient/src/perl/bin/GetClusterState.pl +++ b/vespaclient/src/perl/bin/GetClusterState.pl @@ -75,7 +75,7 @@ BEGIN { } my $VESPA_HOME = $ENV{'VESPA_HOME'}; -use lib $VESPA_HOME . "/lib/perl5/site_perl"; +use lib $ENV{'VESPA_HOME'} . "/lib/perl5/site_perl"; # END perl environment bootstrap section diff --git a/vespaclient/src/perl/bin/GetNodeState.pl b/vespaclient/src/perl/bin/GetNodeState.pl index 7b44275ce72..2bedf6b7fc2 100755 --- a/vespaclient/src/perl/bin/GetNodeState.pl +++ b/vespaclient/src/perl/bin/GetNodeState.pl @@ -75,7 +75,7 @@ BEGIN { } my $VESPA_HOME = $ENV{'VESPA_HOME'}; -use lib $VESPA_HOME . "/lib/perl5/site_perl"; +use lib $ENV{'VESPA_HOME'} . "/lib/perl5/site_perl"; # END perl environment bootstrap section diff --git a/vespaclient/src/perl/bin/SetNodeState.pl b/vespaclient/src/perl/bin/SetNodeState.pl index 29e0bc161c0..880809b3c23 100755 --- a/vespaclient/src/perl/bin/SetNodeState.pl +++ b/vespaclient/src/perl/bin/SetNodeState.pl @@ -75,7 +75,7 @@ BEGIN { } my $VESPA_HOME = $ENV{'VESPA_HOME'}; -use lib $VESPA_HOME . "/lib/perl5/site_perl"; +use lib $ENV{'VESPA_HOME'} . "/lib/perl5/site_perl"; # END perl environment bootstrap section |