summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichardthe3rd <richard.alcock@gmail.com>2018-05-24 15:11:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-05-27 23:24:53 +0200
commit8ff7555891ed0d7d1b9e5c4ceea528d1fa3aec34 (patch)
tree023651005f40fc0c186e1cc3b95bc719286c0f16
parentd0f1d6c8fa08a55a61186b836024a1b8537badbc (diff)
downloadcurl-8ff7555891ed0d7d1b9e5c4ceea528d1fa3aec34.tar.gz
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
-rwxr-xr-xwinbuild/gen_resp_file.bat4
1 files changed, 3 insertions, 1 deletions
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%