diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-02 23:45:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-04 23:35:03 +0000 |
commit | 42a10788e89b07b14a150ced07113566cf99fcdd (patch) | |
tree | 7d4f14c3993cf1822ad17f0d67c8820314b6f17b /meta/classes/compress_doc.bbclass | |
parent | 247522b0eae6ec528350888d2283e84bb1e250fa (diff) | |
download | openembedded-core-contrib-42a10788e89b07b14a150ced07113566cf99fcdd.tar.gz |
classes/lib: Add expand parameter to getVarFlag
This sets the scene for removing the default False for expansion
from getVarFlag. This would later allow True to become the default.
On the most part this is an automatic translation with:
sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, True):g' -i `grep -ril getVar *`
In this case, the default was False, but True was used since in most
cases here expansion would be expected.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/compress_doc.bbclass')
-rw-r--r-- | meta/classes/compress_doc.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/compress_doc.bbclass b/meta/classes/compress_doc.bbclass index 9b58d82ce56..8073c173e59 100644 --- a/meta/classes/compress_doc.bbclass +++ b/meta/classes/compress_doc.bbclass @@ -40,8 +40,8 @@ python package_do_compress_doc() { compress_cmds = {} decompress_cmds = {} for mode in compress_list: - compress_cmds[mode] = d.getVarFlag('DOC_COMPRESS_CMD', mode) - decompress_cmds[mode] = d.getVarFlag('DOC_DECOMPRESS_CMD', mode) + compress_cmds[mode] = d.getVarFlag('DOC_COMPRESS_CMD', mode, True) + decompress_cmds[mode] = d.getVarFlag('DOC_DECOMPRESS_CMD', mode, True) mandir = os.path.abspath(dvar + os.sep + d.getVar("mandir", True)) if os.path.exists(mandir): |