diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-18 15:14:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:57:25 +0100 |
commit | 86d30d756a60d181a95cf07041920a367a0cd0ba (patch) | |
tree | 950353e2e1cd1e7b812ff941b4d06076acd2c752 /meta/classes/gtk-icon-cache.bbclass | |
parent | f98c8490099a02c42306e1671579631a61c9df73 (diff) | |
download | poky-86d30d756a60d181a95cf07041920a367a0cd0ba.tar.gz |
meta: Add explict getVar param for (non) expansion
Rather than just use d.getVar(X), use the more explict d.getVar(X, False)
since at some point in the future, having the default of expansion would
be nice. This is the first step towards that.
This patch was mostly made using the command:
sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *`
(From OE-Core rev: ab7c1d239b122c8e549e8112c88fd46c9e2b061b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 789fa38a16..16e31b94b9 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -42,7 +42,7 @@ python populate_packages_append () { | |||
42 | continue | 42 | continue |
43 | 43 | ||
44 | bb.note("adding hicolor-icon-theme dependency to %s" % pkg) | 44 | bb.note("adding hicolor-icon-theme dependency to %s" % pkg) |
45 | rdepends = ' ' + d.getVar('MLPREFIX') + "hicolor-icon-theme" | 45 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme" |
46 | d.appendVar('RDEPENDS_%s' % pkg, rdepends) | 46 | d.appendVar('RDEPENDS_%s' % pkg, rdepends) |
47 | 47 | ||
48 | bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) | 48 | bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) |