aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java/src/main/sh/vespa-destination.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient-java/src/main/sh/vespa-destination.sh')
-rwxr-xr-xvespaclient-java/src/main/sh/vespa-destination.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/vespaclient-java/src/main/sh/vespa-destination.sh b/vespaclient-java/src/main/sh/vespa-destination.sh
index 1e13a37f0dd..597f79134b8 100755
--- a/vespaclient-java/src/main/sh/vespa-destination.sh
+++ b/vespaclient-java/src/main/sh/vespa-destination.sh
@@ -72,6 +72,9 @@ findhost () {
findroot
findhost
+ROOT=${VESPA_HOME%/}
+export ROOT
+
# END environment bootstrap section
export MALLOC_ARENA_MAX=1 #Does not need fast allocation