[oe-commits] Andreas Oberritter : dnsmasq: fix sh equality operator
git version control
git at git.openembedded.org
Sun Nov 14 23:43:35 UTC 2010
Module: openembedded.git
Branch: master
Commit: 602f296587be0cf7e0faf7494a1e6608b3737265
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=602f296587be0cf7e0faf7494a1e6608b3737265
Author: Andreas Oberritter <obi at opendreambox.org>
Date: Tue Oct 26 15:42:51 2010 +0000
dnsmasq: fix sh equality operator
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Michael Smith <msmith at cbnco.com>
---
recipes/dnsmasq/dnsmasq.inc | 2 +-
recipes/dnsmasq/files/init | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/dnsmasq/dnsmasq.inc b/recipes/dnsmasq/dnsmasq.inc
index 9f6e3e9..0181be4 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 6f1fd32..d1aa9e5 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
More information about the Openembedded-commits
mailing list