summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 4d5d73df86..c17eaba75e 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -249,10 +249,9 @@ python base_do_unpack() {
localdata = bb.data.createCopy(d)
bb.data.update_data(localdata)
- src_uri = bb.data.getVar('SRC_URI', localdata)
+ src_uri = bb.data.getVar('SRC_URI', localdata, True)
if not src_uri:
return
- src_uri = bb.data.expand(src_uri, localdata)
for url in src_uri.split():
try:
local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)