diff options
author | André Draszik <andre.draszik@jci.com> | 2019-01-13 11:13:08 +0000 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2020-08-17 13:02:40 +0200 |
commit | 8f6374ef51eb0f4d2e85fbd6b546b9cee0bb954d (patch) | |
tree | ba8f325f8b8a29797950897d39e7074cf69c3902 /classes/java-library.bbclass | |
parent | 3d2a7dc0360138e0e77c8251c24feb2486365a59 (diff) | |
download | meta-java-8f6374ef51eb0f4d2e85fbd6b546b9cee0bb954d.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 'classes/java-library.bbclass')
-rw-r--r-- | classes/java-library.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index e0159ba..d801930 100644 --- a/classes/java-library.bbclass +++ b/classes/java-library.bbclass | |||
@@ -27,8 +27,8 @@ def java_package_name(d): | |||
27 | pre="" | 27 | pre="" |
28 | post="" | 28 | post="" |
29 | 29 | ||
30 | bpn = d.getVar('BPN', True) | 30 | bpn = d.getVar('BPN') |
31 | ml = d.getVar('MLPREFIX', True) | 31 | ml = d.getVar('MLPREFIX') |
32 | if not bpn.startswith("lib"): | 32 | if not bpn.startswith("lib"): |
33 | pre='lib' | 33 | pre='lib' |
34 | 34 | ||