diff options
author | Arnstein Ressem <aressem@yahoo-inc.com> | 2016-06-17 08:44:44 +0200 |
---|---|---|
committer | Arnstein Ressem <aressem@yahoo-inc.com> | 2016-06-17 08:44:44 +0200 |
commit | 70126b277b7a02b6c3dca631bab9cf8a2df972a2 (patch) | |
tree | 7c2f3717325d5bc4ed04c033f1aafbcbb4359ace /vespaclient | |
parent | 1934e961b908c85415650117a8b9024afaf6dfa6 (diff) |
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; |