]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: bitbake: remove True option to getVar calls
authorAndré Draszik <andre.draszik@jci.com>
Sun, 13 Jan 2019 11:18:24 +0000 (11:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Feb 2019 22:01:10 +0000 (22:01 +0000)
commit2fcbc079e2792030606117e21f4e70e111d4fd1a
treefc38ed189d859673bcd68c7bead3cce5651fd1e4
parentf2c0bba7e7ad2bab0a1c38722eb44a40cf2d2aa3
bitbake: bitbake: 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)

(Bitbake rev: 3bba0dbd524cf72176a765957adff544ae5c255a)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/git.py
bitbake/lib/bb/tests/fetch.py