[package] xmail: cope with empty flags options (#9452)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33058 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-08-08 15:38:40 +00:00
parent 0e4b15341d
commit d33a2ce113
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007-2011 OpenWrt.org # Copyright (C) 2007-2012 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xmail PKG_NAME:=xmail
PKG_VERSION:=1.26 PKG_VERSION:=1.26
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.xmailserver.org/ PKG_SOURCE_URL:=http://www.xmailserver.org/

View File

@ -13,7 +13,7 @@ append_bool() {
local option="$2" local option="$2"
local value="$3" local value="$3"
local _loctmp local _loctmp
config_get_bool _loctmp "$section" "$option" config_get_bool _loctmp "$section" "$option" 0
[ "$_loctmp" -le 0 ] && return 0 [ "$_loctmp" -le 0 ] && return 0
append args "$value" append args "$value"
} }