base-files: Fix a typo in config_list_foreach

SVN-Revision: 34893
This commit is contained in:
Steven Barth 2012-12-27 14:10:01 +00:00
parent 386c37b4c2
commit f657787b52
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/version.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=122 PKG_RELEASE:=123
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host PKG_BUILD_DEPENDS:=opkg/host

View File

@ -197,7 +197,7 @@ config_list_foreach() {
[ -z "$len" ] && return 0 [ -z "$len" ] && return 0
while [ $c -le "$len" ]; do while [ $c -le "$len" ]; do
config_get val "${section}" "${option}_ITEM$c" config_get val "${section}" "${option}_ITEM$c"
eval "$function \"\$val\" \"$@\"" eval "$function \"\$val\" \"\$@\""
c="$(($c + 1))" c="$(($c + 1))"
done done
} }