diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-06-13 08:53:09 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-06-17 15:34:13 +0200 |
commit | 26dcbb4f3081a4ef544f5ff53cf1c969cab17496 (patch) | |
tree | 74465f040fb36fec69284b0c51e4c00be9436113 /configgen | |
parent | a0e1c22870d39fdf8746c446b6206307832666eb (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 'configgen')
-rwxr-xr-x | configgen/bin/make-config.pl | 1 | ||||
-rwxr-xr-x | configgen/bin/make-configold.pl | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/configgen/bin/make-config.pl b/configgen/bin/make-config.pl index 1a1e9cded10..2919e9b004a 100755 --- a/configgen/bin/make-config.pl +++ b/configgen/bin/make-config.pl @@ -63,7 +63,6 @@ sub findhome { BEGIN { my $tmp = findhome(); - if ( $tmp !~ m{[/]$} ) { $tmp .= "/"; } $ENV{'VESPA_HOME'} = $tmp; } my $VESPA_HOME = $ENV{'VESPA_HOME'}; diff --git a/configgen/bin/make-configold.pl b/configgen/bin/make-configold.pl index cef91b937ec..8e8c92377da 100755 --- a/configgen/bin/make-configold.pl +++ b/configgen/bin/make-configold.pl @@ -63,7 +63,6 @@ sub findhome { BEGIN { my $tmp = findhome(); - if ( $tmp !~ m{[/]$} ) { $tmp .= "/"; } $ENV{'VESPA_HOME'} = $tmp; } my $VESPA_HOME = $ENV{'VESPA_HOME'}; |