]> arthur.barton.de Git - netdata.git/commitdiff
Make readme substitution more robust
authorPhilip Whineray <phil@firehol.org>
Sat, 9 Apr 2016 08:14:26 +0000 (09:14 +0100)
committerPhilip Whineray <phil@firehol.org>
Sat, 9 Apr 2016 08:14:26 +0000 (09:14 +0100)
Makefile.am

index 62325edccc1afdcadde24ee222b051ad92d32136..9d57ca59bd6efc940a7f3793f90c73ba978158f3 100644 (file)
@@ -42,7 +42,7 @@ if GIT_TREE
 all-local: README
 
 README: README.md
-       sed -e '/^## Features$$/p' -e '/^## Git/,/^## Features$$/d' $< > $@
+       sed -e '/^## Git/,/^$$/{d;p}' $< > $@
 
 endif