Skip to content

Commit

Permalink
.ci: Fix the indention for current_branch variable.
Browse files Browse the repository at this point in the history
One more tab should be placed for the current_branch variable to fix
broken syntax.

Fixes clearcontainers#876

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
  • Loading branch information
GabyCT committed Nov 8, 2018
1 parent 3c8b6ed commit 651f648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/resolve-kata-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ clone_repos() {
# are already in the PR branch, before trying to fetch the same branch.
if [ ${repo} == ${tests_repo} ] && [ "${repo}" == "${kata_repo}" ]
then
current_branch=$(git rev-parse --abbrev-ref HEAD)
current_branch=$(git rev-parse --abbrev-ref HEAD)
if [ "${current_branch}" == "${pr_branch}" ]
then
echo "Already on branch ${current_branch}"
Expand Down

0 comments on commit 651f648

Please sign in to comment.