Mercurial > vim
changeset 21813:422387068c44 v8.2.1456
patch 8.2.1456: MS-Windows: test files are not deleted
Commit: https://github.com/vim/vim/commit/1623619119547142d94ddee4a75adc92304e55e9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 14 23:08:22 2020 +0200
patch 8.2.1456: MS-Windows: test files are not deleted
Problem: MS-Windows: test files are not deleted.
Solution: use "del" instead of $(DEL).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Aug 2020 23:15:03 +0200 |
parents | aeaa945693d4 |
children | 8c57e8422f04 |
files | src/testdir/Make_dos.mak src/version.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -53,16 +53,16 @@ report: # Delete files that may interfere with running tests. This includes some files # that may result from working on the tests, not only from running them. clean: - -if exist *.out $(DEL) *.out - -if exist *.failed $(DEL) *.failed - -if exist *.res $(DEL) *.res + -if exist *.out del *.out + -if exist *.failed del *.failed + -if exist *.res del *.res -if exist $(DOSTMP) rd /s /q $(DOSTMP) -if exist test.in del test.in -if exist test.ok del test.ok -if exist Xdir1 rd /s /q Xdir1 -if exist Xfind rd /s /q Xfind -if exist XfakeHOME rd /s /q XfakeHOME - -if exist X* $(DEL) X* + -if exist X* del X* -for /d %i in (X*) do @rd /s/q %i -if exist viminfo del viminfo -if exist test.log del test.log