diff options
author | Arne H Juul <arnej27959@users.noreply.github.com> | 2016-06-17 22:33:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 22:33:32 +0200 |
commit | 8215385eb463a03d4994d8b4eade0949f9c58ce5 (patch) | |
tree | 0a2bf4e31b27da08ca1a46e89751109328b27628 /vespaclient | |
parent | 1847e51a1f1d97cac3767edc83100bbd7941928a (diff) | |
parent | 21c4eb88f82268e4db698934a76c7d085f234151 (diff) |
Merge pull request #43 from yahoo/aressem/use-env-to-find-perl-instead-of-hardcoding-location
Use /usr/bin/env perl instead of /usr/local/bin/perl
Diffstat (limited to 'vespaclient')
-rwxr-xr-x | vespaclient/src/perl/bin/GetClusterState.pl | 3 | ||||
-rwxr-xr-x | vespaclient/src/perl/bin/GetNodeState.pl | 3 | ||||
-rwxr-xr-x | vespaclient/src/perl/bin/SetNodeState.pl | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/vespaclient/src/perl/bin/GetClusterState.pl b/vespaclient/src/perl/bin/GetClusterState.pl index 2352a5a0ca6..23c2d350d4c 100755 --- a/vespaclient/src/perl/bin/GetClusterState.pl +++ b/vespaclient/src/perl/bin/GetClusterState.pl @@ -1,9 +1,10 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/env perl # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. # BEGIN perl environment bootstrap section # Do not edit between here and END as this section should stay identical in all scripts +use warnings; use File::Basename; use File::Path; diff --git a/vespaclient/src/perl/bin/GetNodeState.pl b/vespaclient/src/perl/bin/GetNodeState.pl index d373eadb65b..ca394305e5f 100755 --- a/vespaclient/src/perl/bin/GetNodeState.pl +++ b/vespaclient/src/perl/bin/GetNodeState.pl @@ -1,9 +1,10 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/env perl # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. # BEGIN perl environment bootstrap section # Do not edit between here and END as this section should stay identical in all scripts +use warnings; use File::Basename; use File::Path; diff --git a/vespaclient/src/perl/bin/SetNodeState.pl b/vespaclient/src/perl/bin/SetNodeState.pl index 7002ab523b5..3933cb409e6 100755 --- a/vespaclient/src/perl/bin/SetNodeState.pl +++ b/vespaclient/src/perl/bin/SetNodeState.pl @@ -1,9 +1,10 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/env perl # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. # BEGIN perl environment bootstrap section # Do not edit between here and END as this section should stay identical in all scripts +use warnings; use File::Basename; use File::Path; |