summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-28 01:10:03 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-28 01:10:03 +0000
commit097fc121e684a4d0c252ab768cb1b5b186dc43f8 (patch)
tree94618cb748a7f3716e9e0f367316cbb6a22b4950
parent325a64d8a27e87178aa6af045f46defc8f6e1bfa (diff)
downloadcurl-097fc121e684a4d0c252ab768cb1b5b186dc43f8.tar.gz
checksrc.bat: Fixed a problem opening files with spaces in the filename
-rw-r--r--projects/checksrc.bat8
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