]> granicus.if.org Git - curl/commitdiff
* buildconf.bat: Fixed issues when ran in directories with special chars
authorSteve Holme <steve_holme@hotmail.com>
Fri, 14 Aug 2015 05:54:16 +0000 (06:54 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 14 Aug 2015 06:34:37 +0000 (07:34 +0100)
Bug: https://github.com/bagder/curl/pull/379
Reported-by: Daniel Seither
buildconf.bat

index 8c1af36dcbc3fda3bac3a4e4c6dd9b8e561e1557..7c53fc5f23b8111e3466575c34779884a16005f4 100644 (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