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
This commit is contained in:
@@ -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.."
|
||||
|
||||
@@ -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!"
|
||||
|
||||
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user