summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index c807601974..e8eaebe9dc 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -621,7 +621,8 @@ class Fetch(object):
621 Can also setup variables in urldata for use in go (saving code duplication 621 Can also setup variables in urldata for use in go (saving code duplication
622 and duplicate code execution) 622 and duplicate code execution)
623 """ 623 """
624 return url 624 return os.path.join(data.getVar("DL_DIR", d, True), urldata.localfile)
625
625 def _strip_leading_slashes(self, relpath): 626 def _strip_leading_slashes(self, relpath):
626 """ 627 """
627 Remove leading slash as os.path.join can't cope 628 Remove leading slash as os.path.join can't cope