* buildconf.bat: Fixed issues when ran in directories with special chars

Bug: https://github.com/bagder/curl/pull/379
Reported-by: Daniel Seither
This commit is contained in:
Steve Holme 2015-08-14 06:54:16 +01:00
parent 9e1b1ca606
commit 1a85c8ef15
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ rem
set BASIC_HUGEHELP=0
rem Create Makefile
echo * %CD%\Makefile
if exist Makefile.dist (
echo * %CD%\Makefile
copy /Y Makefile.dist Makefile 1>NUL 2>&1
if errorlevel 1 (
if "%OS%" == "Windows_NT" endlocal
@ -129,8 +129,8 @@ rem
cmd /c exit 0
rem Create curlbuild.h
echo * %CD%\include\curl\curlbuild.h
if exist include\curl\curlbuild.h.dist (
echo * %CD%\include\curl\curlbuild.h
copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h 1>NUL 2>&1
if errorlevel 1 (
if "%OS%" == "Windows_NT" endlocal