Enforce update of submodules on Windows.
On Windows git does not reliably update submodules.
Enforce updates to mbedTLS and tinycbor as configured.
Tested-by: Kishen Maloor
@@ -11,6 +11,8 @@ set GIT_CMD=git
for /f "tokens=*" %%i in ('where %GIT_CMD%') do set GIT_LOCATION=%%~pi
set PATCH_CMD=%GIT_LOCATION%..\usr\bin\patch.exe
+"%GIT_CMD%" submodule update --init
+
cd %~dp0..\..\deps\mbedtls || goto error
"%GIT_CMD%" clean -xdf . || goto error
"%GIT_CMD%" reset --hard || goto error
