diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-28 01:10:03 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-28 01:10:03 +0000 |
commit | 097fc121e684a4d0c252ab768cb1b5b186dc43f8 (patch) | |
tree | 94618cb748a7f3716e9e0f367316cbb6a22b4950 /projects | |
parent | 325a64d8a27e87178aa6af045f46defc8f6e1bfa (diff) |
checksrc.bat: Fixed a problem opening files with spaces in the filename
Diffstat (limited to 'projects')
-rw-r--r-- | projects/checksrc.bat | 8 |
1 files changed, 4 insertions, 4 deletions
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 |