summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-01 14:20:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-01 16:51:08 +0000
commit509a8a9ea428debf3ff2115fcff0aa89d0239ced (patch)
tree45880a2a6f007a0dbc2a86b5c27c76ad434a2570
parentea11f71432e2741d5f8c7cecec41c6155db34393 (diff)
downloadopenembedded-core-509a8a9ea428debf3ff2115fcff0aa89d0239ced.tar.gz
openembedded-core-509a8a9ea428debf3ff2115fcff0aa89d0239ced.tar.bz2
openembedded-core-509a8a9ea428debf3ff2115fcff0aa89d0239ced.zip
dbus: Use $D not ${D} in the postinstall
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>
-rw-r--r--meta/recipes-core/dbus/dbus.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 4c7d87a91d..b378bda63a 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -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
}