summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index dc8a9836e7..1be7bedd40 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
@@ -141,7 +141,7 @@ def get_bb_var(var, target=None, postconfig=None):
141 lastline = None 141 lastline = None
142 for line in bbenv.splitlines(): 142 for line in bbenv.splitlines():
143 if re.search("^(export )?%s=" % var, line): 143 if re.search("^(export )?%s=" % var, line):
144 val = line.split('=')[1] 144 val = line.split('=', 1)[1]
145 val = val.strip('\"') 145 val = val.strip('\"')
146 break 146 break
147 elif re.match("unset %s$" % var, line): 147 elif re.match("unset %s$" % var, line):