diff options
Diffstat (limited to 'vespaclient/src/perl/bin/SetNodeState.pl')
-rwxr-xr-x | vespaclient/src/perl/bin/SetNodeState.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespaclient/src/perl/bin/SetNodeState.pl b/vespaclient/src/perl/bin/SetNodeState.pl index b1fc32c02b3..29e0bc161c0 100755 --- a/vespaclient/src/perl/bin/SetNodeState.pl +++ b/vespaclient/src/perl/bin/SetNodeState.pl @@ -39,7 +39,7 @@ sub findhome { } # Try the ROOT env variable - $ROOT = $ENV{'ROOT'}; + my $ROOT = $ENV{'ROOT'}; return $ROOT if is_vespa_home($ROOT); # Try the script location or current dir @@ -75,10 +75,10 @@ BEGIN { } my $VESPA_HOME = $ENV{'VESPA_HOME'}; +use lib $VESPA_HOME . "/lib/perl5/site_perl"; + # END perl environment bootstrap section -use lib $ENV{'VESPA_HOME'} . '/lib/perl5/site_perl'; -use lib $ENV{'VESPA_HOME'} . '/lib64/perl5/site_perl'; use Yahoo::Vespa::Defaults; readConfFile(); |