From 097fc121e684a4d0c252ab768cb1b5b186dc43f8 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 28 Dec 2014 01:10:03 +0000 Subject: checksrc.bat: Fixed a problem opening files with spaces in the filename --- projects/checksrc.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'projects') diff --git a/projects/checksrc.bat b/projects/checksrc.bat index e2e257495..139914dd8 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -43,10 +43,10 @@ rem *************************************************************************** if not exist "%SRC_DIR%" goto nosrc :start - for /F %%i in ('dir %SRC_DIR%\src\*.c.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\src %%i - for /F %%i in ('dir %SRC_DIR%\src\*.h.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\src %%i - for /F %%i in ('dir %SRC_DIR%\lib\*.c.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\lib %%i - for /F %%i in ('dir %SRC_DIR%\lib\*.h.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\lib -Wcurl_config.h.cmake %%i + for /f "delims=" %%i in ('dir %SRC_DIR%\src\*.c.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\src "%%i" + for /f "delims=" %%i in ('dir %SRC_DIR%\src\*.h.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\src "%%i" + for /f "delims=" %%i in ('dir %SRC_DIR%\lib\*.c.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\lib "%%i" + for /f "delims=" %%i in ('dir %SRC_DIR%\lib\*.h.* /b') do @perl %SRC_DIR%\lib\checksrc.pl -D%SRC_DIR%\lib -Wcurl_config.h.cmake "%%i" goto success :syntax -- cgit v1.2.3