]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: Use $D not ${D} in the postinstall
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Nov 2011 14:20:03 +0000 (14:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:10 +0000 (16:27 +0000)
We need to do this as we don't want bitbake to expand the variable
but use the shell variable instead.

(From OE-Core rev: 509a8a9ea428debf3ff2115fcff0aa89d0239ced)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus.inc

index 2a97c028e6bdeb2700b2b837bb81e31f081fb52c..791e66c1c9781c1574288b897478c3f2dbd91b04 100644 (file)
@@ -51,7 +51,7 @@ RRECOMMENDS_${PN}-lib = "${PN}"
 FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
 
 pkg_postinst_dbus() {
-       if [ -z "${D}" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
+       if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
                /etc/init.d/populate-volatile.sh update
        fi
 }