From 5a9cfa64a8001ea1224d7b5aa98cb4c359b14a66 Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Wed, 11 Mar 2015 12:23:31 +0100 Subject: [PATCH] OP-1778 - workaround cert issue with wget. --- make/scripts/win_sdk_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/scripts/win_sdk_install.sh b/make/scripts/win_sdk_install.sh index af9c3d3c0..4d22db453 100644 --- a/make/scripts/win_sdk_install.sh +++ b/make/scripts/win_sdk_install.sh @@ -87,7 +87,7 @@ if [ ! -x "$MAKE" ]; then echo "$SCRIPT_NAME: $MAKE_NAME not found, fetching from $MAKE_URL" MAKE_DIR="`dirname \"$MAKE\"`" mkdir -p "$MAKE_DIR" - $WGET -N --content-disposition -P "$MAKE_DIR" "$MAKE_URL" + $WGET --no-check-certificate -N --content-disposition -P "$MAKE_DIR" "$MAKE_URL" if [ $? -ne 0 ]; then echo "$SCRIPT_NAME: $MAKE_NAME fetch error, hope it's in the path..." MAKE_NAME="`basename \"$MAKE\"`" @@ -100,7 +100,7 @@ if [ ! -x "$SEVENZIP" ]; then echo "$SCRIPT_NAME: $SEVENZIP_NAME not found, fetching from $SEVENZIP_URL" SEVENZIP_DIR="`dirname \"$SEVENZIP\"`" mkdir -p "$SEVENZIP_DIR" - $WGET -N --content-disposition -P "$SEVENZIP_DIR" "$SEVENZIP_URL" + $WGET --no-check-certificate -N --content-disposition -P "$SEVENZIP_DIR" "$SEVENZIP_URL" if [ $? -ne 0 ]; then echo "$SCRIPT_NAME: $SEVENZIP_NAME fetch error, hope it's in the path..." SEVENZIP_NAME="`basename \"$SEVENZIP\"`"