From a3d2c2a9c94f32f4d24d5bb059d5e8b15d928813 Mon Sep 17 00:00:00 2001 From: Gabriel Kerneis Date: Wed, 29 Jun 2011 07:30:23 +0000 Subject: [PATCH] babeld: cope with empty flag options SVN-Revision: 27304 --- net/babel/Makefile | 2 +- net/babel/files/babeld.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/babel/Makefile b/net/babel/Makefile index ca0483a78..0eb8d2d74 100644 --- a/net/babel/Makefile +++ b/net/babel/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=babeld PKG_VERSION:=1.1.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/ diff --git a/net/babel/files/babeld.init b/net/babel/files/babeld.init index 73c0c16fc..d6cd0d3af 100755 --- a/net/babel/files/babeld.init +++ b/net/babel/files/babeld.init @@ -29,7 +29,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" } -- 2.30.2