From e2316dd5522dd8d983a1d7bdab4b83f37d9bdf61 Mon Sep 17 00:00:00 2001 From: Saverio Proto <saverio.proto@switch.ch> Date: Wed, 15 Feb 2017 22:30:29 +0100 Subject: [PATCH] Fix BASEDIR because of new kolla-ansible project name In commit 177fbea79a1babdcd4e8230341380d373eef6df4 the project was renamed to kolla-ansible, and this broke the BASEDIR in the kolla-ansible wrapper. Closes-bug: #1665262 Change-Id: I89fe15e5723f39f453a8173f7ced3f623a8bccc5 --- tools/kolla-ansible | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 8c9aeb51e..e51240fbf 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -7,14 +7,14 @@ function find_base_dir { local dir_name="$(dirname "$real_path")" if [ -z "$SNAP" ]; then if [[ ${dir_name} == "/usr/bin" ]]; then - BASEDIR=/usr/share/kolla + BASEDIR=/usr/share/kolla-ansible elif [[ ${dir_name} == "/usr/local/bin" ]]; then - BASEDIR=/usr/local/share/kolla + BASEDIR=/usr/local/share/kolla-ansible else BASEDIR="$(dirname ${dir_name})" fi else - BASEDIR="$SNAP/share/kolla" + BASEDIR="$SNAP/share/kolla-ansible" fi } -- GitLab