summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 5f0e6c9266..11fe95b541 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1188,8 +1188,11 @@ class FetchData(object):
1188 basepath = self.localpath 1188 basepath = self.localpath
1189 elif self.localpath: 1189 elif self.localpath:
1190 basepath = dldir + os.sep + os.path.basename(self.localpath) 1190 basepath = dldir + os.sep + os.path.basename(self.localpath)
1191 else: 1191 elif self.basepath or self.basename:
1192 basepath = dldir + os.sep + (self.basepath or self.basename) 1192 basepath = dldir + os.sep + (self.basepath or self.basename)
1193 else:
1194 bb.fatal("Can't determine lock path for url %s" % url)
1195
1193 self.donestamp = basepath + '.done' 1196 self.donestamp = basepath + '.done'
1194 self.lockfile = basepath + '.lock' 1197 self.lockfile = basepath + '.lock'
1195 1198