diff src/testdir/Makefile @ 17010:9d9b637b35a9 v8.1.1505

patch 8.1.1505: running "make clean" twice gives errors commit https://github.com/vim/vim/commit/8ed75cb0b4d06b8c13dfb12bf3c54be0f6f0c71b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 9 14:39:13 2019 +0200 patch 8.1.1505: running "make clean" twice gives errors Problem: Running "make clean" twice gives errors. Solution: Add "-f" to "rm". (closes https://github.com/vim/vim/issues/4516)
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Jun 2019 14:45:08 +0200
parents f3a6c2c31551
children 9140a11d111a
line wrap: on
line diff
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -85,9 +85,9 @@ RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); ex
 
 clean:
 	-rm -rf *.out *.failed *.res *.rej *.orig
-	-rm opt_test.vim test.log test_result.log messages
-	-rm $(RM_ON_RUN) $(RM_ON_START)
-	-rm valgrind.*
+	-rm -f opt_test.vim test.log test_result.log messages
+	-rm -f $(RM_ON_RUN) $(RM_ON_START)
+	-rm -f valgrind.*
 
 test1.out: test1.in
 	-rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize