Skip to content
Snippets Groups Projects
Commit 2825e18f authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix BASEDIR because of new kolla-ansible project name"

parents 02cfdeea e2316dd5
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment