summaryrefslogtreecommitdiffstats
path: root/clustercontroller-standalone
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-06-08 13:26:46 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-06-08 13:26:46 +0200
commit3502b839bac19af14dec446aeabdffd10eb37897 (patch)
tree7179d6d6b4ea2c22dfb4859439d75855f898bd8f /clustercontroller-standalone
parent25809a32e2a9227d92e355483984e9ba592358f4 (diff)
avoid trailing slash in ROOT setting
Diffstat (limited to 'clustercontroller-standalone')
-rwxr-xr-xclustercontroller-standalone/src/main/sh/fleetcontroller-start2
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; }