summaryrefslogtreecommitdiffstats
path: root/vespabase/src/vespa-stop-services.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vespabase/src/vespa-stop-services.sh')
-rwxr-xr-xvespabase/src/vespa-stop-services.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/vespabase/src/vespa-stop-services.sh b/vespabase/src/vespa-stop-services.sh
index e4ea4a6a5e4..8d519a5fa9e 100755
--- a/vespabase/src/vespa-stop-services.sh
+++ b/vespabase/src/vespa-stop-services.sh
@@ -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
@@ -60,7 +58,7 @@ findroot
# END environment bootstrap section
-willrun=${VESPA_HOME}libexec/vespa/stop-vespa-base.sh
+willrun=${VESPA_HOME}/libexec/vespa/stop-vespa-base.sh
if [ -x $willrun ]; then
echo "Executing $willrun" >&2
exec $willrun