summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-05 20:33:18 +0000
committerPhil Blundell <philb@gnu.org>2004-08-05 20:33:18 +0000
commitccd66bba85442f46223b7cc514cd590829e5d37f (patch)
treef32944622c1c1432cd0df34a4b96b0b572aeb987
parent873dbc1f353c9807f0013a4b8cc8f8eee7ef80b5 (diff)
downloadbitbake-contrib-ccd66bba85442f46223b7cc514cd590829e5d37f.tar.gz
only apply ?= assignments if variable is None, not if it is the empty string
-rw-r--r--bin/oe/parse/ConfHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oe/parse/ConfHandler.py b/bin/oe/parse/ConfHandler.py
index 6db74cc3c..2e17f7f64 100644
--- a/bin/oe/parse/ConfHandler.py
+++ b/bin/oe/parse/ConfHandler.py
@@ -152,7 +152,7 @@ def feeder(lineno, s, fn, data = {}):
oe.data.setVarFlag(key, "export", 1, data)
if "ques" in groupd and groupd["ques"] != None:
val = oe.data.getVar(key, data)
- if not val:
+ if val == None:
val = groupd["value"]
elif "colon" in groupd and groupd["colon"] != None:
val = oe.data.expand(groupd["value"], data)