From: Günther Kelleter Date: Mon, 8 Oct 2018 13:30:00 +0000 (+0200) Subject: base-files: config_get: prevent filename globbing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3389ab135400fba0cb710d9c6c63df2f563d9d9;p=openwrt%2Fstaging%2Frobimarko.git base-files: config_get: prevent filename globbing When config_get is called as "config_get section option" the option is unexpectedly globbed by the shell which differs from the way options are read to a variable with "config_get variable section option". Add another layer of double quotes to fix it. Signed-off-by: Günther Kelleter --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 0dc8b6d61e..609ffa2c38 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/feeds.mk PKG_NAME:=base-files -PKG_RELEASE:=196 +PKG_RELEASE:=197 PKG_FLAGS:=nonshared PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 50a7b40869..edce75e8ff 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -92,7 +92,7 @@ config_unset() { # config_get