scripts: sources-branch-updater-lib.sh: Fix typos

Commit e9ef150728d1 ("scripts: Introduce sources-branch-updater-lib
library") introduced the sources-branch-updater-lib.sh library which
can be used by external scripts to do their own tagging. However, this
also introduced a few typos. 'osa_helper_cleanu_files' should be
'osa_helper_cleanup_files' and 'OSA_BRANCH' should be 'osa_branch'

Fixes: e9ef150728d1 ("scripts: Introduce sources-branch-updater-lib library")
Change-Id: I4c5c7320b038c5c0f75cffa47c82f74bd50ee9bc
This commit is contained in:
Markos Chandras 2017-06-15 11:42:43 +01:00
parent e9ef150728
commit ebdf81b3dc

@ -235,7 +235,7 @@ update_ansible_role_requirements() {
# Grab the latest SHA that matches the specified branch
if [[ -z "${role_version}" ]]; then
role_version=$(git ls-remote ${role_src} | grep "${OSA_BRANCH}$" | awk '{print $1}')
role_version=$(git ls-remote ${role_src} | grep "${osa_branch}$" | awk '{print $1}')
fi
# For OSA roles, get the release notes
@ -249,7 +249,7 @@ update_ansible_role_requirements() {
rsync -aq ${osa_repo_tmp_path}/releasenotes/notes/*.yaml releasenotes/notes/
fi
osa_helper_cleanu_files $osa_repo_tmp_path
osa_helper_cleanup_files $osa_repo_tmp_path
fi
# Now use the information we have to update the ansible-role-requirements file