mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 19:31:34 +02:00
base-files: Fix a typo in config_list_foreach
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34893 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7d9a07b855
commit
593cc2f133
@ -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
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user