summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/perl
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2016-06-17 08:44:44 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2016-06-17 08:44:44 +0200
commit70126b277b7a02b6c3dca631bab9cf8a2df972a2 (patch)
tree7c2f3717325d5bc4ed04c033f1aafbcbb4359ace /config-model/src/main/perl
parent1934e961b908c85415650117a8b9024afaf6dfa6 (diff)
Use /usr/bin/env perl instead of /usr/local/bin/perl
Diffstat (limited to 'config-model/src/main/perl')
-rwxr-xr-xconfig-model/src/main/perl/deploy3
-rwxr-xr-xconfig-model/src/main/perl/expand-config.pl2
-rwxr-xr-xconfig-model/src/main/perl/vespa-replicate-log-stream2
3 files changed, 4 insertions, 3 deletions
diff --git a/config-model/src/main/perl/deploy b/config-model/src/main/perl/deploy
index 00e3b0d91f8..d6500a7946a 100755
--- a/config-model/src/main/perl/deploy
+++ b/config-model/src/main/perl/deploy
@@ -1,4 +1,4 @@
-#!/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.
# This script is for uploading, preparing, activating and fetching
# application packages to a cloud config server
@@ -6,6 +6,7 @@
# 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/config-model/src/main/perl/expand-config.pl b/config-model/src/main/perl/expand-config.pl
index 643de484620..198dc9f3447 100755
--- a/config-model/src/main/perl/expand-config.pl
+++ b/config-model/src/main/perl/expand-config.pl
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/env perl
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#============================================================================
diff --git a/config-model/src/main/perl/vespa-replicate-log-stream b/config-model/src/main/perl/vespa-replicate-log-stream
index 3e02b498554..24081975e9b 100755
--- a/config-model/src/main/perl/vespa-replicate-log-stream
+++ b/config-model/src/main/perl/vespa-replicate-log-stream
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/env perl
use IO::Socket::INET;