summaryrefslogtreecommitdiffstats
path: root/vespaclient/src/perl
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient/src/perl')
-rwxr-xr-xvespaclient/src/perl/bin/GetClusterState.pl3
-rwxr-xr-xvespaclient/src/perl/bin/GetNodeState.pl3
-rwxr-xr-xvespaclient/src/perl/bin/SetNodeState.pl3
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;