summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 9a99b346b3..8d7ec8036c 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -499,6 +499,7 @@ class FetchData(object):
499 if "localpath" in self.parm: 499 if "localpath" in self.parm:
500 # if user sets localpath for file, use it instead. 500 # if user sets localpath for file, use it instead.
501 self.localpath = self.parm["localpath"] 501 self.localpath = self.parm["localpath"]
502 self.basename = os.path.basename(self.localpath)
502 else: 503 else:
503 premirrors = bb.data.getVar('PREMIRRORS', d, True) 504 premirrors = bb.data.getVar('PREMIRRORS', d, True)
504 local = "" 505 local = ""