From 47cd5b5622e7dbbad4eac1ca483c78caf59c5012 Mon Sep 17 00:00:00 2001 From: keisuke333 Date: Thu, 17 Aug 2017 19:19:53 +0900 Subject: [PATCH] Fix avoid certificate errors that occur during '2-setup-environment-win.bat' --- util/2-setup-environment-win.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/2-setup-environment-win.bat b/util/2-setup-environment-win.bat index 3e54cc776c..22a2e17f70 100644 --- a/util/2-setup-environment-win.bat +++ b/util/2-setup-environment-win.bat @@ -34,14 +34,14 @@ ECHO ------------------------------------------ ECHO Installing dfu-programmer. ECHO ------------------------------------------ ECHO. -wget 'http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-win-0.7.2.zip' >> %STARTINGDIR%\environment-setup.log +wget --no-check-certificate 'http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-win-0.7.2.zip' >> %STARTINGDIR%\environment-setup.log unzip -o dfu-programmer-win-0.7.2.zip >> %STARTINGDIR%\environment-setup.log COPY dfu-programmer.exe .. >> %STARTINGDIR%\environment-setup.log ECHO ------------------------------------------ ECHO Downloading driver ECHO ------------------------------------------ -wget http://downloads.sourceforge.net/project/libusb-win32/libusb-win32-releases/1.2.6.0/libusb-win32-bin-1.2.6.0.zip >> %STARTINGDIR%\environment-setup.log +wget --no-check-certificate http://downloads.sourceforge.net/project/libusb-win32/libusb-win32-releases/1.2.6.0/libusb-win32-bin-1.2.6.0.zip >> %STARTINGDIR%\environment-setup.log unzip -o libusb-win32-bin-1.2.6.0.zip >> %STARTINGDIR%\environment-setup.log COPY libusb-win32-bin-1.2.6.0\bin\x86\libusb0_x86.dll ../libusb0.dll >> %STARTINGDIR%\environment-setup.log