buildconf.bat: Avoid using goto for file not in repository
This commit is contained in:
parent
9947f259bf
commit
97c9d31884
@ -38,28 +38,29 @@ rem snapshot archives.
|
|||||||
if not exist GIT-INFO goto nogitinfo
|
if not exist GIT-INFO goto nogitinfo
|
||||||
|
|
||||||
:start
|
:start
|
||||||
rem create tool_hugehelp.c
|
rem create tool_hugehelp.c
|
||||||
if not exist src\tool_hugehelp.c.cvs goto end_hugehelp_c
|
if exist src\tool_hugehelp.c.cvs (
|
||||||
copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c
|
copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c
|
||||||
:end_hugehelp_c
|
)
|
||||||
|
|
||||||
rem create Makefile
|
rem create Makefile
|
||||||
if not exist Makefile.dist goto end_makefile
|
if exist Makefile.dist (
|
||||||
copy /Y Makefile.dist Makefile
|
copy /Y Makefile.dist Makefile
|
||||||
:end_makefile
|
)
|
||||||
|
|
||||||
rem create curlbuild.h
|
rem create curlbuild.h
|
||||||
if not exist include\curl\curlbuild.h.dist goto end_curlbuild_h
|
if exist include\curl\curlbuild.h.dist (
|
||||||
copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h
|
copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h
|
||||||
:end_curlbuild_h
|
)
|
||||||
|
|
||||||
rem setup c-ares git tree
|
rem setup c-ares git tree
|
||||||
if not exist ares\buildconf.bat goto end_c_ares
|
if exist ares\buildconf.bat (
|
||||||
cd ares
|
cd ares
|
||||||
call buildconf.bat
|
call buildconf.bat
|
||||||
cd ..
|
cd ..
|
||||||
:end_c_ares
|
)
|
||||||
goto success
|
|
||||||
|
goto success
|
||||||
|
|
||||||
:syntax
|
:syntax
|
||||||
rem Display the help
|
rem Display the help
|
||||||
|
Loading…
x
Reference in New Issue
Block a user