]> granicus.if.org Git - vim/commitdiff
patch 8.1.1505: running "make clean" twice gives errors v8.1.1505
authorBram Moolenaar <Bram@vim.org>
Sun, 9 Jun 2019 12:39:13 +0000 (14:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 9 Jun 2019 12:39:13 +0000 (14:39 +0200)
Problem:    Running "make clean" twice gives errors.
Solution:   Add "-f" to "rm". (closes #4516)

src/testdir/Makefile
src/version.c

index bf64a03837cc2d8c5ba719c5f646c87dcda8fffb..d3c1184e8c01c97bc9fef1162056d5379e9b7817 100644 (file)
@@ -85,9 +85,9 @@ RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG)
 
 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
index 82e9e3842ff8c4cd9a9377359dd505ee7fd92ba1..13db30461b74f72abf23c747ecd67e5905ba1646 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1505,
 /**/
     1504,
 /**/