commit afd1bc6fa092c00931a71ec3c3bd639fe38eb2e3
parent 98b899ac3c5e58b1c090cb6c7d7a881646bc7cc1
Author: cfillion <cfillion@users.noreply.github.com>
Date: Wed, 10 Aug 2016 21:18:05 -0700
build_deps: fix danger of wiping the whole repository (oops)
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/build_deps.bat b/build_deps.bat
@@ -6,18 +6,14 @@ set vendor=%self%\vendor
set curl=%vendor%\curl
if "%1%"=="curl32" (
- cd "%curl%\builds"
- if %errorlevel% neq 0 exit /b %errorlevel%
- del * /Q /S
+ del "%curl%\builds\"* /Q /S
cd "%curl%\winbuild"
nmake /f Makefile.vc mode=static RTLIBCFG=static MACHINE=x86
xcopy /y /s %curl%\builds\libcurl-vc-x86-release-static-ipv6-sspi-winssl %vendor%\libcurl32\
exit /b
)
if "%1%"=="curl64" (
- cd "%curl%\builds"
- if %errorlevel% neq 0 exit /b %errorlevel%
- del * /Q /S
+ del "%curl%\builds\"* /Q /S
cd "%curl%\winbuild"
nmake /f Makefile.vc mode=static RTLIBCFG=static MACHINE=x64
xcopy /y /s %curl%\builds\libcurl-vc-x64-release-static-ipv6-sspi-winssl %vendor%\libcurl64\