Unverified Commit 8e4c5833 authored by quicksilver's avatar quicksilver Committed by GitHub
Browse files

Merge pull request #617 from ZhifengZhang-CN/0.6.0

format check_ccache.sh
parents 3566fbbc a223ee31
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -57,17 +57,17 @@ check_ccache() {
    fi
}

for BRANCH_NAME in ${BRANCH_NAMES}
do
    if [[ "${BRANCH_NAME}" != "HEAD" ]];then
        check_ccache ${BRANCH_NAME}
    fi
done

if [[ -n "${CHANGE_BRANCH}" && "${BRANCH_NAME}" =~ "PR-" ]];then
    check_ccache ${CHANGE_BRANCH}
    check_ccache ${BRANCH_NAME}
fi

for CURRENT_BRANCH in ${BRANCH_NAMES}
do
    if [[ "${CURRENT_BRANCH}" != "HEAD" ]];then
        check_ccache ${CURRENT_BRANCH}
    fi
done

echo "could not download cache" && exit 1