diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-10-25 17:37:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 17:37:05 +0200 |
commit | f73ba9276acf8b1032d1c015c434bf544317fad1 (patch) | |
tree | b7b02d5d5ba5e682cc5731e0a05e17efc21930ed /vespabase/src/start-vespa-base.sh | |
parent | 373c68b2955c8a9ef77daa4e38622eec274b54ea (diff) | |
parent | 1417a48bd4aecfb5e182d6c7b81960e3d7232309 (diff) |
Merge pull request #24548 from vespa-engine/arnej/common-handle-env-root
* apply new common bootstrap
Diffstat (limited to 'vespabase/src/start-vespa-base.sh')
-rwxr-xr-x | vespabase/src/start-vespa-base.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vespabase/src/start-vespa-base.sh b/vespabase/src/start-vespa-base.sh index 345009e0127..889a9f0298b 100755 --- a/vespabase/src/start-vespa-base.sh +++ b/vespabase/src/start-vespa-base.sh @@ -72,9 +72,12 @@ findhost () { findroot findhost +ROOT=${VESPA_HOME%/} +export ROOT + # END environment bootstrap section -cd $VESPA_HOME || { echo "Cannot cd to $VESPA_HOME" 1>&2; exit 1; } +cd ${VESPA_HOME} || { echo "Cannot cd to ${VESPA_HOME}" 1>&2; exit 1; } fixlimits checkjava |