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. --- config-model/src/main/perl/vespa-deploy | 2 +- config/src/apps/vespa-config/vespa-config.pl | 2 +- vespaclient/src/perl/bin/GetClusterState.pl | 2 +- vespaclient/src/perl/bin/GetNodeState.pl | 2 +- vespaclient/src/perl/bin/SetNodeState.pl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config-model/src/main/perl/vespa-deploy b/config-model/src/main/perl/vespa-deploy index c4da8cccd7c..59a84f5b0c0 100755 --- a/config-model/src/main/perl/vespa-deploy +++ b/config-model/src/main/perl/vespa-deploy @@ -77,7 +77,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/config/src/apps/vespa-config/vespa-config.pl b/config/src/apps/vespa-config/vespa-config.pl index 813d71f433c..014d9be8085 100755 --- a/config/src/apps/vespa-config/vespa-config.pl +++ b/config/src/apps/vespa-config/vespa-config.pl @@ -77,7 +77,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/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