summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-common.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-06-19 12:30:25 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2015-07-06 15:05:16 -0300
commit66c97ae7461f4c1a13917131787bb76dc34e6b6f (patch)
tree74e9da53894f997823db1efb8ffb5b4b3e5ba834 /recipes-core/openjdk/openjdk-common.inc
parent71bf807f948348650ce1711776a3587fac916b58 (diff)
downloadmeta-java-66c97ae7461f4c1a13917131787bb76dc34e6b6f.tar.gz
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 *` Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/openjdk/openjdk-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-common.inc b/recipes-core/openjdk/openjdk-common.inc
index 349ce9e..dc26522 100644
--- a/recipes-core/openjdk/openjdk-common.inc
+++ b/recipes-core/openjdk/openjdk-common.inc
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-with-classpath-exception"
4PRIORITY = "optional" 4PRIORITY = "optional"
5SECTION = "libs" 5SECTION = "libs"
6 6
7ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1].split("-")[1] or '1.0'}" 7ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1].split("-")[1] or '1.0'}"
8 8
9S = "${WORKDIR}/${ICEDTEA}" 9S = "${WORKDIR}/${ICEDTEA}"
10B = "${S}/build" 10B = "${S}/build"