[packages] ahcpd: cope with empty flag options
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27303 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
608f8d4a5d
commit
0a89cb19ac
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ahcpd
|
||||
PKG_VERSION:=0.51
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
|
||||
|
@ -3,7 +3,7 @@ append_bool() {
|
||||
local option="$2"
|
||||
local value="$3"
|
||||
local _loctmp
|
||||
config_get_bool _loctmp "$section" "$option"
|
||||
config_get_bool _loctmp "$section" "$option" 0
|
||||
[ "$_loctmp" -gt 0 ] && append args "$value"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user