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 /clustercontroller-standalone | |
parent | 25809a32e2a9227d92e355483984e9ba592358f4 (diff) |
avoid trailing slash in ROOT setting
Diffstat (limited to 'clustercontroller-standalone')
-rwxr-xr-x | clustercontroller-standalone/src/main/sh/fleetcontroller-start | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clustercontroller-standalone/src/main/sh/fleetcontroller-start b/clustercontroller-standalone/src/main/sh/fleetcontroller-start index dda006ff7b1..8f8e07b8110 100755 --- a/clustercontroller-standalone/src/main/sh/fleetcontroller-start +++ b/clustercontroller-standalone/src/main/sh/fleetcontroller-start @@ -62,7 +62,7 @@ findroot JAR=lib/jars/clustercontroller-standalone-jar-with-dependencies.jar -ROOT=$VESPA_HOME +ROOT=${VESPA_HOME%/} export ROOT cd $ROOT || { echo "Cannot cd to $ROOT" 1>&2; exit 1; } |