aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-02-05 17:52:38 +0000
committerGerrit Code Review <review@openstack.org>2016-02-05 17:52:38 +0000
commit1b3480edca2eafcdf5948506261ec64b7045748e (patch)
tree78c96933d6b642804185eddd4d2e35990a895a37 /tools
parentb891afd64c7bcd351cde324591dc4d915f550a51 (diff)
parent343e736e6292eacb4d9c26d8d46bdfa58bbe70bd (diff)
downloadkolla-1b3480edca2eafcdf5948506261ec64b7045748e.tar.gz
kolla-1b3480edca2eafcdf5948506261ec64b7045748e.zip
Merge "Fix the ugly base directory path"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kolla-ansible2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index 73d7316f5..fc17f1495 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -10,7 +10,7 @@ function find_base_dir {
elif [[ ${dir_name} == "/usr/local/bin" ]]; then
BASEDIR=/usr/local/share/kolla
else
- BASEDIR="${dir_name}/.."
+ BASEDIR="$(dirname ${dir_name})"
fi
}