diff options
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 802bc2f208..d29c1b1a68 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -138,9 +138,9 @@ def get_bb_var(var, target=None, postconfig=None): | |||
138 | val = None | 138 | val = None |
139 | bbenv = get_bb_env(target, postconfig=postconfig) | 139 | bbenv = get_bb_env(target, postconfig=postconfig) |
140 | for line in bbenv.splitlines(): | 140 | for line in bbenv.splitlines(): |
141 | if line.startswith(var + "="): | 141 | if line.startswith(var + "=") or line.startswith("export " + var + "="): |
142 | val = line.split('=')[1] | 142 | val = line.split('=')[1] |
143 | val = val.replace('\"','') | 143 | val = val.strip('\"') |
144 | break | 144 | break |
145 | return val | 145 | return val |
146 | 146 | ||