diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2015-01-29 09:52:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 22:11:35 +0000 |
commit | 087424d925d1d9207b7ffa1483bf5f39ef035c5c (patch) | |
tree | a7d67744157cc2e8758a1f9bf3769b2fe85d8ee3 | |
parent | 4f7182775cfa39c589e2e4693b1769127d7dd4d4 (diff) | |
download | ast2050-yocto-poky-087424d925d1d9207b7ffa1483bf5f39ef035c5c.zip ast2050-yocto-poky-087424d925d1d9207b7ffa1483bf5f39ef035c5c.tar.gz |
bitbake: parse/ast: Fix issue if path contains '&'
(Bitbake rev: 4fea138f7cef53626a40decb96207dbaf9284020)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 879c9d2..c53ab17 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py @@ -139,7 +139,7 @@ class DataNode(AstNode): data.setVar(key, val, **loginfo) class MethodNode(AstNode): - tr_tbl = string.maketrans('/.+-@%', '______') + tr_tbl = string.maketrans('/.+-@%&', '_______') def __init__(self, filename, lineno, func_name, body): AstNode.__init__(self, filename, lineno) |