From 1e333d6ee30b142be63f589d9a5d32bbc471b6fb Mon Sep 17 00:00:00 2001 From: Arne Juul Date: Wed, 4 Sep 2019 13:30:35 +0000 Subject: update shell bootstrap sections --- container-core/src/main/sh/vespa-load-balancer-status | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'container-core') diff --git a/container-core/src/main/sh/vespa-load-balancer-status b/container-core/src/main/sh/vespa-load-balancer-status index e93337333f3..d7383c1614c 100755 --- a/container-core/src/main/sh/vespa-load-balancer-status +++ b/container-core/src/main/sh/vespa-load-balancer-status @@ -9,6 +9,10 @@ findpath () { myname=${0} mypath=${myname%/*} myname=${myname##*/} + empty_if_start_slash=${mypath%%/*} + if [ "${empty_if_start_slash}" ]; then + mypath=$(pwd)/${mypath} + fi if [ "$mypath" ] && [ -d "$mypath" ]; then return fi -- cgit v1.2.3