diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-05 20:33:18 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-05 20:33:18 +0000 |
commit | ccd66bba85442f46223b7cc514cd590829e5d37f (patch) | |
tree | f32944622c1c1432cd0df34a4b96b0b572aeb987 | |
parent | 873dbc1f353c9807f0013a4b8cc8f8eee7ef80b5 (diff) | |
download | bitbake-ccd66bba85442f46223b7cc514cd590829e5d37f.tar.gz |
only apply ?= assignments if variable is None, not if it is the empty string
-rw-r--r-- | bin/oe/parse/ConfHandler.py | 2 |
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) |