aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@verizonmedia.com>2020-01-17 14:43:18 +0100
committerTor Egge <Tor.Egge@verizonmedia.com>2020-01-17 14:43:18 +0100
commit3d5da88ecbb49fb238aa877853b6204d08d49f64 (patch)
tree60fe64b5a974ea9af0a2a9c7bcf8fd11a6a2b7ed
parent5d5f6c553a3f7c127429282322f1f7c7d2ec4081 (diff)
Don't use local variable in use lib statement.
-rwxr-xr-xconfig-model/src/main/perl/vespa-deploy2
-rwxr-xr-xconfig/src/apps/vespa-config/vespa-config.pl2
-rwxr-xr-xvespaclient/src/perl/bin/GetClusterState.pl2
-rwxr-xr-xvespaclient/src/perl/bin/GetNodeState.pl2
-rwxr-xr-xvespaclient/src/perl/bin/SetNodeState.pl2
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