Merge pull request #23164 from david-mcmahon/update-licenses

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2016-03-18 00:26:47 -07:00
commit 6bd5ecc192
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ process_content () {
for f in ${remote_files[@]}; do
file_state "${package_root_url}/master/${f}" && continue
if ! FILE_CONTENT[${package}-${type}]="$(\
curl --fail -s https://${package_root_url}/master/${f})" || \
curl --fail --retry 10 -s \
https://${package_root_url}/master/${f})" || \
! $(echo "${FILE_CONTENT[${package}-${type}]-}" |\
egrep -qw "${ensure_pattern}") ||
[[ "${FILE_CONTENT[${package}-${type}]-}" =~ \<\ *html ]] ; then