From f657787b52bbee6d435e9e87428cf69f22fe852f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 27 Dec 2012 14:10:01 +0000 Subject: [PATCH] base-files: Fix a typo in config_list_foreach SVN-Revision: 34893 --- package/base-files/Makefile | 2 +- package/base-files/files/lib/functions.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.25.1