diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-06-08 13:26:46 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-06-08 13:26:46 +0200 |
commit | 3502b839bac19af14dec446aeabdffd10eb37897 (patch) | |
tree | 7179d6d6b4ea2c22dfb4859439d75855f898bd8f /searchcore/src/apps | |
parent | 25809a32e2a9227d92e355483984e9ba592358f4 (diff) |
avoid trailing slash in ROOT setting
Diffstat (limited to 'searchcore/src/apps')
-rwxr-xr-x | searchcore/src/apps/vespa-remove-indexes/vespa-remove-index.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/apps/vespa-remove-indexes/vespa-remove-index.sh b/searchcore/src/apps/vespa-remove-indexes/vespa-remove-index.sh index d66a0e79bb2..250e3d2cf37 100755 --- a/searchcore/src/apps/vespa-remove-indexes/vespa-remove-index.sh +++ b/searchcore/src/apps/vespa-remove-indexes/vespa-remove-index.sh @@ -60,7 +60,7 @@ findroot # END environment bootstrap section -ROOT=$VESPA_HOME +ROOT=${VESPA_HOME%/} cd $ROOT || { echo "Cannot cd to $ROOT" 1>&2; exit 1; } usage() { |