From 26dcbb4f3081a4ef544f5ff53cf1c969cab17496 Mon Sep 17 00:00:00 2001 From: Arne H Juul Date: Tue, 13 Jun 2017 08:53:09 +0200 Subject: 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. --- config-proxy/src/main/sh/vespa-config-verification | 2 -- 1 file changed, 2 deletions(-) (limited to 'config-proxy/src/main/sh/vespa-config-verification') diff --git a/config-proxy/src/main/sh/vespa-config-verification b/config-proxy/src/main/sh/vespa-config-verification index 29083cc16e8..52174495ee3 100644 --- a/config-proxy/src/main/sh/vespa-config-verification +++ b/config-proxy/src/main/sh/vespa-config-verification @@ -23,8 +23,6 @@ COMMON_ENV=libexec/vespa/common-env.sh source_common_env () { if [ "$VESPA_HOME" ] && [ -d "$VESPA_HOME" ]; then - # ensure it ends with "/" : - VESPA_HOME=${VESPA_HOME%/}/ export VESPA_HOME common_env=$VESPA_HOME/$COMMON_ENV if [ -f "$common_env" ]; then -- cgit v1.2.3