From c045d902bbe28d72c5ff0cc86b28d56704a578ad Mon Sep 17 00:00:00 2001 From: quicksilver Date: Wed, 18 Dec 2019 15:29:03 +0800 Subject: [PATCH] update check_ccache.sh --- ci/scripts/check_ccache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/check_ccache.sh b/ci/scripts/check_ccache.sh index cc0708505e..c9c03ef149 100755 --- a/ci/scripts/check_ccache.sh +++ b/ci/scripts/check_ccache.sh @@ -44,7 +44,7 @@ check_ccache() { BRANCH=$1 PACKAGE_FILE="ccache-${OS_NAME}-${BUILD_ENV_DOCKER_IMAGE_ID}.tar.gz" echo "fetching ${BRANCH}/${PACKAGE_FILE}" - wget -q --method HEAD "${ARTIFACTORY_URL}/${BRANCH}/${PACKAGE_FILE}" + wget -q --spider "${ARTIFACTORY_URL}/${BRANCH}/${PACKAGE_FILE}" if [[ $? == 0 ]];then wget -q "${ARTIFACTORY_URL}/${BRANCH}/${PACKAGE_FILE}" && \ mkdir -p ${CCACHE_DIRECTORY} && \