mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
base.bbclass: Remove pointless expand call
This commit is contained in:
@@ -694,10 +694,10 @@ python base_do_unpack() {
|
|||||||
localdata = bb.data.createCopy(d)
|
localdata = bb.data.createCopy(d)
|
||||||
bb.data.update_data(localdata)
|
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:
|
if not src_uri:
|
||||||
return
|
return
|
||||||
src_uri = bb.data.expand(src_uri, localdata)
|
|
||||||
for url in src_uri.split():
|
for url in src_uri.split():
|
||||||
try:
|
try:
|
||||||
local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
|
local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
|
||||||
|
|||||||
Reference in New Issue
Block a user