]> granicus.if.org Git - vim/commitdiff
patch 8.0.1301: generated license file for NSIS has a modeline v8.0.1301
authorBram Moolenaar <Bram@vim.org>
Thu, 16 Nov 2017 16:36:02 +0000 (17:36 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 16 Nov 2017 16:36:02 +0000 (17:36 +0100)
Problem:    Generated license file for NSIS has a modeline.
Solution:   Adjust the pattern for sed. (Ken Takata)

runtime/doc/Makefile
src/version.c

index 46b6125a9efa3eaf94a6bca4f608aee2d2a0b60b..d60501e0fe53414d121e80b7f9466d97a55264da 100644 (file)
@@ -343,7 +343,7 @@ xxd.man: xxd.1
        nroff -man xxd.1 | sed -e s/.\b//g > xxd.man
 
 uganda.nsis.txt: uganda.txt
-       sed -e 's/[     ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78://' \
+       sed -e 's/[     ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78:.*//' \
                uganda.txt | uniq >uganda.nsis.txt
 
 # Awk version of .txt to .html conversion.
index 2a50a1b5146468190bde71bac360f65d38f2f396..cf62d59374ecc0e5a0590f6961fcff09317b99ce 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1301,
 /**/
     1300,
 /**/