From 8ff7555891ed0d7d1b9e5c4ceea528d1fa3aec34 Mon Sep 17 00:00:00 2001 From: richardthe3rd Date: Thu, 24 May 2018 15:11:44 +0100 Subject: winbuild: only delete OUTFILE if it exists This removes the slightly annoying "Could not file LIBCURL_OBJS.inc" and "Could not find CURL_OBJS.inc.inc" message when building into a clean folder. closes #2602 --- winbuild/gen_resp_file.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winbuild') diff --git a/winbuild/gen_resp_file.bat b/winbuild/gen_resp_file.bat index 434f36963..c640cee09 100755 --- a/winbuild/gen_resp_file.bat +++ b/winbuild/gen_resp_file.bat @@ -1,5 +1,7 @@ @echo OFF -@del %OUTFILE% +@if exist %OUTFILE% ( + del %OUTFILE% +) @echo %MACRO_NAME% = \> %OUTFILE% @for %%i in (%*) do @echo %DIROBJ%/%%i \>> %OUTFILE% @echo. >> %OUTFILE% -- cgit v1.2.3