summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkeisuke333 <k.yoshida@sansan.com>2017-08-17 19:19:53 +0900
committerJack Humbert <jack.humb@gmail.com>2017-08-22 09:09:51 -0400
commit47cd5b5622e7dbbad4eac1ca483c78caf59c5012 (patch)
tree635fae0874e71afc0718732a75506f86a4ae7fc8
parent0e39f1faf471014305a759e7972e62aba4bc94cc (diff)
Fix avoid certificate errors that occur during '2-setup-environment-win.bat'
-rw-r--r--util/2-setup-environment-win.bat4
1 files 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