summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <di@fh-wedel.de>2007-04-19 10:29:58 +0000
committerMartin Dietze <di@fh-wedel.de>2007-04-19 10:29:58 +0000
commitff81f5be6bc505a8597da1cd6b2ddf4e205eadf9 (patch)
tree3d9565065948f4939bbd43d3f40b3dc2882ea380
parent8302ac9c6f45dee9f789802bbf6a1c1bf1b35a71 (diff)
base.bbclass: fixed bug #2082 (Checksum doesn't expand "localpath" with "localdata") as proposed by bug reporter
-rw-r--r--classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index d78bd3cec3..1dd3a488b3 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -41,7 +41,7 @@ def base_chk_file(parser, pn, pv, src_uri, localpath, data):
# md5 and sha256 should be valid now
if not os.path.exists(localpath):
- bb.note("The locapath does not exist '%s'" % localpath)
+ bb.note("The localpath does not exist '%s'" % localpath)
raise Exception("The path does not exist '%s'" % localpath)
@@ -483,7 +483,7 @@ python base_do_fetch() {
# Check each URI
for url in src_uri.split():
- localpath = bb.fetch.localpath(url,localdata)
+ localpath = bb.data.expand(bb.fetch.localpath(url, localdata), localdata)
(type,host,path,_,_,_) = bb.decodeurl(url)
uri = "%s://%s%s" % (type,host,path)
try: