From: Andreas Oberritter Date: Tue, 26 Oct 2010 15:42:51 +0000 (+0000) Subject: dnsmasq: fix sh equality operator X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=602f296587be0cf7e0faf7494a1e6608b3737265;p=openembedded.git dnsmasq: fix sh equality operator Signed-off-by: Andreas Oberritter Signed-off-by: Michael Smith --- diff --git a/recipes/dnsmasq/dnsmasq.inc b/recipes/dnsmasq/dnsmasq.inc index 9f6e3e955b..0181be4081 100644 --- a/recipes/dnsmasq/dnsmasq.inc +++ b/recipes/dnsmasq/dnsmasq.inc @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html" SECTION = "console/network" LICENSE = "GPL" -PR = "r1" +PR = "r2" #at least versions 2.15 and prior are moved to the archive folder on the server SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(bb.data.getVar('PV',d,1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \ diff --git a/recipes/dnsmasq/files/init b/recipes/dnsmasq/files/init index 6f1fd320da..d1aa9e517d 100644 --- a/recipes/dnsmasq/files/init +++ b/recipes/dnsmasq/files/init @@ -24,7 +24,7 @@ case "$1" in echo -n "dnsmasq " start-stop-daemon -q -K -t -x $DAEMON RET=$? - if [ "$RET" == "0" ]; then + if [ "$RET" = "0" ]; then PID=`cat /var/run/dnsmasq.pid` echo "($PID) is running" else