]> 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>
Tue, 1 Nov 2011 16:51:08 +0000 (16:51 +0000)
We need to do this as we don't want bitbake to expand the variable
but use the shell variable instead.

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

index 4c7d87a91df31aca36378c950a13a0df1643a5b1..b378bda63af4ff80a27db2d621a56d6b8535740b 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
 }