From c72ade1f3a46785f5241d451c2dfb337ecf1e2a5 Mon Sep 17 00:00:00 2001 From: "preed%mozilla.com" Date: Thu, 15 Mar 2007 22:39:10 +0000 Subject: [PATCH] Bug 371305: add --no-check-certificate to wget args; certain versions choke on the *.mozilla.org cert we use. patch=rhelmer, r=me. git-svn-id: svn://10.0.0.236/trunk@221945 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/testing/release/common/download_builds.sh | 2 +- mozilla/testing/release/common/download_mars.sh | 6 +++--- mozilla/testing/release/updates/verify.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/testing/release/common/download_builds.sh b/mozilla/testing/release/common/download_builds.sh index 02a63fb4a0f..4c00a6db2f5 100644 --- a/mozilla/testing/release/common/download_builds.sh +++ b/mozilla/testing/release/common/download_builds.sh @@ -20,7 +20,7 @@ download_builds() { #PARAMS="--user=user --password=pass" cd downloads if [ -f "$source_file" ]; then rm "$source_file"; fi - wget -nv $PARAMS "$url" 2>&1 + wget --no-check-certificate -nv $PARAMS "$url" 2>&1 if [ $? != 0 ]; then echo "FAIL: Could not download source $source_file from $url" echo "skipping.." diff --git a/mozilla/testing/release/common/download_mars.sh b/mozilla/testing/release/common/download_mars.sh index 3c470c16515..16567e57456 100644 --- a/mozilla/testing/release/common/download_mars.sh +++ b/mozilla/testing/release/common/download_mars.sh @@ -4,7 +4,7 @@ download_mars () { test_only="$3" echo "Using $update_url" - wget -q -O update.xml $update_url + wget --no-check-certificate -q -O update.xml $update_url mkdir -p update/ if [ -z $only ]; then @@ -26,10 +26,10 @@ download_mars () { if [ "$test_only" == "1" ] then echo "Testing $URL" - curl -sIL $URL + curl -k -s -I -L $URL return else - wget -nv -O update/$patch_type.mar $URL 2>&1 + wget --no-check-certificate -nv -O update/$patch_type.mar $URL 2>&1 fi if [ "$?" != 0 ]; then echo "Could not download $patch_type!" diff --git a/mozilla/testing/release/updates/verify.sh b/mozilla/testing/release/updates/verify.sh index 6819c3f1e61..38b036b3a62 100755 --- a/mozilla/testing/release/updates/verify.sh +++ b/mozilla/testing/release/updates/verify.sh @@ -109,7 +109,7 @@ do update_path="$product/$release/$build_id/$platform/$locale/$channel" mkdir -p updates/$update_path/complete mkdir -p updates/$update_path/partial - wget -q -O $patch_type updates/$update_path/$patch_type/update.xml "${aus_server}/update/1/$update_path/update.xml" + wget --no-check-certificate -q -O $patch_type updates/$update_path/$patch_type/update.xml "${aus_server}/update/1/$update_path/update.xml" fi if [ "$runmode" == "$COMPLETE" ]