From: Steven Barth Date: Thu, 27 Dec 2012 14:10:01 +0000 (+0000) Subject: base-files: Fix a typo in config_list_foreach X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f657787b52bbee6d435e9e87428cf69f22fe852f;p=openwrt%2Fstaging%2Fadrian.git base-files: Fix a typo in config_list_foreach SVN-Revision: 34893 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 63350f822a..0e72c188d5 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/version.mk PKG_NAME:=base-files -PKG_RELEASE:=122 +PKG_RELEASE:=123 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 54e69b8332..ae0257a5c5 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -197,7 +197,7 @@ config_list_foreach() { [ -z "$len" ] && return 0 while [ $c -le "$len" ]; do config_get val "${section}" "${option}_ITEM$c" - eval "$function \"\$val\" \"$@\"" + eval "$function \"\$val\" \"\$@\"" c="$(($c + 1))" done }