diff options
author | André Draszik <andre.draszik@jci.com> | 2019-01-13 11:13:08 +0000 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2019-12-27 12:05:54 +0100 |
commit | 7a3a8322a747c8803dbfbf3aa4912cf9f8158695 (patch) | |
tree | 0b30eb3e80156f051006977d7782b4c61a4bac9f /recipes-core/openjdk/openjdk-8-common.inc | |
parent | 7bb0903d1a96d0bee47236f59128db62072a7043 (diff) | |
download | meta-java-7a3a8322a747c8803dbfbf3aa4912cf9f8158695.tar.gz |
remove True option to getVar calls
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-common.inc')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 4d8f935..1fbe7fe 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc | |||
@@ -163,8 +163,8 @@ export DEBUG_BINARIES = "true" | |||
163 | 163 | ||
164 | ALTERNATIVE_PRIORITY = "50" | 164 | ALTERNATIVE_PRIORITY = "50" |
165 | 165 | ||
166 | OPENJDK_UPDATE_VERSION = "${@d.getVar('PV', True).split('b')[0]}" | 166 | OPENJDK_UPDATE_VERSION = "${@d.getVar('PV').split('b')[0]}" |
167 | OPENJDK_BUILD_NUMBER = "b${@d.getVar('PV', True).split('b')[1]}" | 167 | OPENJDK_BUILD_NUMBER = "b${@d.getVar('PV').split('b')[1]}" |
168 | EXTRA_OECONF_append = "\ | 168 | EXTRA_OECONF_append = "\ |
169 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ | 169 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ |
170 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ | 170 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ |