Browse Source

[getsource/wget] Do not validate certificate

master
Pekka Helenius 3 years ago
parent
commit
4ed435c714
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tools/getsource.sh

+ 2
- 2
tools/getsource.sh View File

@ -92,8 +92,8 @@ ARM_GITBASES=(
##################################
function get_url() {
if ! wget -q -T 10 "${1}" -O - >/dev/null; then return 1; fi
if wget -q -c "${1}" -O "${2}"; then return 0; fi
if ! wget --no-check-certificate -q -T 10 "${1}" -O - >/dev/null; then return 1; fi
if wget --no-check-certificate -q -c "${1}" -O "${2}"; then return 0; fi
return 1
}


Loading…
Cancel
Save