diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 9be8f1ce4b..5e480a208e 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py | |||
@@ -38,9 +38,11 @@ class Local(Fetch): | |||
38 | return urldata.type in ['file','patch'] | 38 | return urldata.type in ['file','patch'] |
39 | 39 | ||
40 | def localpath(self, url, urldata, d): | 40 | def localpath(self, url, urldata, d): |
41 | """Return the local filename of a given url assuming a successful fetch. | 41 | """ |
42 | Return the local filename of a given url assuming a successful fetch. | ||
42 | """ | 43 | """ |
43 | path = url.split("://")[1] | 44 | path = url.split("://")[1] |
45 | path = path.split(";")[0] | ||
44 | newpath = path | 46 | newpath = path |
45 | if path[0] != "/": | 47 | if path[0] != "/": |
46 | filespath = data.getVar('FILESPATH', d, 1) | 48 | filespath = data.getVar('FILESPATH', d, 1) |