Commit 6bd5ecc1 authored by k8s-merge-robot's avatar k8s-merge-robot

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

Auto commit by PR queue bot
parents 10204f8b ede7bb67
...@@ -131,7 +131,8 @@ process_content () { ...@@ -131,7 +131,8 @@ process_content () {
for f in ${remote_files[@]}; do for f in ${remote_files[@]}; do
file_state "${package_root_url}/master/${f}" && continue file_state "${package_root_url}/master/${f}" && continue
if ! FILE_CONTENT[${package}-${type}]="$(\ 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}]-}" |\ ! $(echo "${FILE_CONTENT[${package}-${type}]-}" |\
egrep -qw "${ensure_pattern}") || egrep -qw "${ensure_pattern}") ||
[[ "${FILE_CONTENT[${package}-${type}]-}" =~ \<\ *html ]] ; then [[ "${FILE_CONTENT[${package}-${type}]-}" =~ \<\ *html ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment