2
0
forked from Ivasoft/openwrt

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 <nbd@openwrt.org>

SVN-Revision: 41885
This commit is contained in:
Felix Fietkau
2014-07-29 13:30:23 +00:00
parent dbb77e39a0
commit d5653558ac
4 changed files with 26 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
DISTRIB_ID="%D"
DISTRIB_RELEASE="%C"
DISTRIB_REVISION="%R"
DISTRIB_CODENAME="%n"
DISTRIB_TARGET="%S"
DISTRIB_DESCRIPTION="%D %N %V"
DISTRIB_TAINTS="%t"
DISTRIB_ID='%D'
DISTRIB_RELEASE='%C'
DISTRIB_REVISION='%R'
DISTRIB_CODENAME='%n'
DISTRIB_TARGET='%S'
DISTRIB_DESCRIPTION='%D %N %V'
DISTRIB_TAINTS='%t'