From 3d5da88ecbb49fb238aa877853b6204d08d49f64 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Fri, 17 Jan 2020 14:43:18 +0100 Subject: Don't use local variable in use lib statement. --- vespaclient/src/perl/bin/GetClusterState.pl | 2 +- vespaclient/src/perl/bin/GetNodeState.pl | 2 +- vespaclient/src/perl/bin/SetNodeState.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vespaclient') 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 -- cgit v1.2.3