From: Jay Satiro Date: Sun, 24 Nov 2019 07:53:05 +0000 (-0500) Subject: checksrc.bat: Add a check for vquic and vssh directories X-Git-Tag: curl-7_68_0~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d2dac7dec17286adc05415b4b748e246d238f14;p=thirdparty%2Fcurl.git checksrc.bat: Add a check for vquic and vssh directories Ref: https://github.com/curl/curl/pull/4607 --- diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 54c976ad18..e2b6b6999a 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -113,6 +113,18 @@ rem *************************************************************************** for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vauth\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vauth" "%%i" ) + rem Check the lib\vquic directory + if exist %SRC_DIR%\lib\vquic ( + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vquic\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vquic" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vquic\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vquic" "%%i" + ) + + rem Check the lib\vssh directory + if exist %SRC_DIR%\lib\vssh ( + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vssh\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vssh" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vssh\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vssh" "%%i" + ) + rem Check the lib\vtls directory if exist %SRC_DIR%\lib\vtls ( for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vtls\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vtls" "%%i"