From 70126b277b7a02b6c3dca631bab9cf8a2df972a2 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Fri, 17 Jun 2016 08:44:44 +0200 Subject: Use /usr/bin/env perl instead of /usr/local/bin/perl --- vespaclient/src/perl/bin/GetClusterState.pl | 3 ++- vespaclient/src/perl/bin/GetNodeState.pl | 3 ++- vespaclient/src/perl/bin/SetNodeState.pl | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'vespaclient/src/perl') 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; -- cgit v1.2.3