diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-13 21:01:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-13 21:01:22 +0200 |
commit | 05c1acd5e1564ea4dbc7d4be26908af6909f43f6 (patch) | |
tree | c8a607d0e07e71a710423e67094c46056b00e77a /src/testdir | |
parent | f0afd9e18227d3459c888584d0658a1837d2aaf8 (diff) |
patch 8.2.1675: MinGW: testdir makefile deletes non-existing filev8.2.1675
Problem: MinGW: testdir makefile deletes non-existing file.
Solution: Use another way to delete the output file if it already exists.
(Michael Soyka)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/Make_ming.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index f9dcfc86e0..5e17963c5e 100644 --- a/src/testdir/Make_ming.mak +++ b/src/testdir/Make_ming.mak @@ -95,7 +95,7 @@ tinytests: $(SCRIPTS_TINY_OUT) # Copy the input files to dostmp, changing the fileformat to dos. $(DOSTMP)/%.in : %.in if not exist $(DOSTMP)\nul mkdir $(DOSTMP) - if not exist $@ $(DEL) $@ + if exist $(DOSTMP)\$< $(DEL) $(DOSTMP)\$< $(VIMPROG) -u dos.vim $(NO_INITS) "+set ff=dos|f $@|wq" $< # For each input file dostmp/test99.in run the tests. |