summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/perl/vespa-deploy
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-06-13 08:53:09 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-06-17 15:34:13 +0200
commit26dcbb4f3081a4ef544f5ff53cf1c969cab17496 (patch)
tree74465f040fb36fec69284b0c51e4c00be9436113 /config-model/src/main/perl/vespa-deploy
parenta0e1c22870d39fdf8746c446b6206307832666eb (diff)
VESPA_HOME should not end with / anymore
* best practice for HOME-like env vars is to be just the name of the directory without trailing slash.
Diffstat (limited to 'config-model/src/main/perl/vespa-deploy')
-rwxr-xr-xconfig-model/src/main/perl/vespa-deploy2
1 files changed, 0 insertions, 2 deletions
diff --git a/config-model/src/main/perl/vespa-deploy b/config-model/src/main/perl/vespa-deploy
index 844d59f7993..d0b30803611 100755
--- a/config-model/src/main/perl/vespa-deploy
+++ b/config-model/src/main/perl/vespa-deploy
@@ -6,7 +6,6 @@
# 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;
@@ -57,7 +56,6 @@ sub findhome {
BEGIN {
my $tmp = findhome();
- if ( $tmp !~ m{[/]$} ) { $tmp .= "/"; }
$ENV{'VESPA_HOME'} = $tmp;
}
my $VESPA_HOME = $ENV{'VESPA_HOME'};