diff options
author | Arne Juul <arnej@yahooinc.com> | 2022-10-24 10:02:58 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahooinc.com> | 2022-10-24 10:02:58 +0000 |
commit | 1417a48bd4aecfb5e182d6c7b81960e3d7232309 (patch) | |
tree | 256cff43ab30ea2c5efbe31c9d1ad7eb316eefea /vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh | |
parent | fa29e75a71b49fc3925349457bb43de03b6d60d8 (diff) |
* apply new common bootstrap
* remove now-duplicated code
* prefer using ${VESPA_HOME} environment variable
Diffstat (limited to 'vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh')
-rwxr-xr-x | vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh b/vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh index 4c68bf8a3ce..f0a50574dee 100755 --- a/vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh +++ b/vespaclient-java/src/main/sh/vespa-query-profile-dump-tool.sh @@ -72,6 +72,9 @@ findhost () { findroot findhost +ROOT=${VESPA_HOME%/} +export ROOT + # END environment bootstrap section java $(getJavaOptionsIPV46) -cp ${VESPA_HOME}/lib/jars/vespaclient-java-jar-with-dependencies.jar com.yahoo.search.query.profile.DumpTool $@ |