format check_ccache.sh

pull/617/head
quicksilver 2019-11-29 17:06:53 +08:00
parent b6d11377a5
commit a223ee313b
1 changed files with 3 additions and 3 deletions

View File

@ -62,10 +62,10 @@ if [[ -n "${CHANGE_BRANCH}" && "${BRANCH_NAME}" =~ "PR-" ]];then
check_ccache ${BRANCH_NAME}
fi
for BRANCH in ${BRANCH_NAMES}
for CURRENT_BRANCH in ${BRANCH_NAMES}
do
if [[ "${BRANCH}" != "HEAD" ]];then
check_ccache ${BRANCH}
if [[ "${CURRENT_BRANCH}" != "HEAD" ]];then
check_ccache ${CURRENT_BRANCH}
fi
done