From d5653558ac0044824974c7e73d349e4b2747e3ab Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 29 Jul 2014 13:30:23 +0000 Subject: base-files: properly escape strings for version info Make sure they don't break the sed command, and also make device_info and openwrt_release more robust for parsing by scripts Signed-off-by: Felix Fietkau SVN-Revision: 41885 --- package/base-files/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/base-files/Makefile') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 76a4dab..10724b3 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -110,7 +110,9 @@ define Package/base-files/install $(VERSION_SED) \ $(1)/etc/banner \ - $(1)/etc/openwrt_version \ + $(1)/etc/openwrt_version + + $(VERSION_SED_SCRIPT) \ $(1)/etc/openwrt_release \ $(1)/etc/device_info -- cgit v1.1