diff options
Diffstat (limited to 'security-tools/src/main/sh/vespa-curl-wrapper')
-rwxr-xr-x | security-tools/src/main/sh/vespa-curl-wrapper | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security-tools/src/main/sh/vespa-curl-wrapper b/security-tools/src/main/sh/vespa-curl-wrapper index a6327f3be92..9381d6f898b 100755 --- a/security-tools/src/main/sh/vespa-curl-wrapper +++ b/security-tools/src/main/sh/vespa-curl-wrapper @@ -75,11 +75,14 @@ findhost () { findroot findhost +ROOT=${VESPA_HOME%/} +export ROOT + # END environment bootstrap section set -e -eval $($VESPA_HOME/libexec/vespa/script-utils security-env) +eval $(${VESPA_HOME}/libexec/vespa/script-utils security-env) CURL_PARAMETERS=("$@") |