version.mk: escape values used in VERSION_SED macro
authorPhilip Prindeville <philipp@redfish-solutions.com>
Wed, 24 Jan 2018 23:52:53 +0000 (16:52 -0700)
committerJo-Philipp Wich <jo@mein.io>
Fri, 2 Feb 2018 12:59:34 +0000 (13:59 +0100)
commitabbb07a6616afa942d69d8b612cfad90213d40eb
tree2e7e1093ca9ab0b1f726e97af966f6daf303609c
parenta9a43f3d791da40893832616e79bbeed198a1ddb
version.mk: escape values used in VERSION_SED macro

In addition to backslash and ampersand needing to be escaped for
simple sed RHS strings, we also need to escape comma since we're
using that as our s/// delimiter.

Pass everything through a macro filter to sanitize it.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
include/version.mk