From 1caebb60cb760ea8a6cea403abc157c9c0b1b53b Mon Sep 17 00:00:00 2001 From: Don Cross Date: Tue, 1 Nov 2022 20:43:28 -0400 Subject: [PATCH] Doxygen download bug fix. --- generate/commit_hook.bat | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/generate/commit_hook.bat b/generate/commit_hook.bat index b1f817ec..b83a46a8 100644 --- a/generate/commit_hook.bat +++ b/generate/commit_hook.bat @@ -9,19 +9,20 @@ REM Change to project/repo root directory. cd %~dp0\.. echo.commit_hook: Repo root = %cd% -echo.commit_hook: Installing Doxygen. -md bin -cd bin +echo.commit_hook: Scraping Doxygen download URL. set DOXYGENURL= -for /f %%x in ('py doxygen_download_link.py') do ( +for /f %%x in ('py generate/doxygen_download_link.py') do ( set DOXYGENURL=%%x ) if not defined DOXYGENURL ( echo.commit_hook: FAIL: could not determine URL to download Doxygen binaries for Windows. exit /b 1 ) +md bin +cd bin echo.commit_hook: Downloading: !DOXYGENURL! curl -o doxygen.zip !DOXYGENURL! || exit /b 1 +echo.commit_hook: Installing Doxygen. 7z x doxygen.zip || exit /b 1 del doxygen.zip