summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2016-06-17 22:33:32 +0200
committerGitHub <noreply@github.com>2016-06-17 22:33:32 +0200
commit8215385eb463a03d4994d8b4eade0949f9c58ce5 (patch)
tree0a2bf4e31b27da08ca1a46e89751109328b27628 /config
parent1847e51a1f1d97cac3767edc83100bbd7941928a (diff)
parent21c4eb88f82268e4db698934a76c7d085f234151 (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 'config')
-rwxr-xr-xconfig/src/apps/vespa-config/vespa-config.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/src/apps/vespa-config/vespa-config.pl b/config/src/apps/vespa-config/vespa-config.pl
index a87e5e52976..a558a6dcbc4 100755
--- a/config/src/apps/vespa-config/vespa-config.pl
+++ b/config/src/apps/vespa-config/vespa-config.pl
@@ -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.
#
# Various small functions used when bootstrapping the config system
@@ -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;