bitbake: fetch2: ssh: use common localpath handling

(Bitbake rev: 22ac6e84c70034a74f1729c7e0f31ca928fa1dea)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Stefan Herbrechtsmeier authored and Richard Purdie committed 2025-02-11 21:18:39 +00:00
1 parent 170dd77e4a
commit f62042523a
1 file changed
+1 -2
+1 -2
View File
@@ -73,8 +73,7 @@ class SSH(FetchMethod):
path = m.group('path')
path = urllib.parse.unquote(path)
host = m.group('host')
urldata.localpath = os.path.join(d.getVar('DL_DIR'),
os.path.basename(os.path.normpath(path)))
urldata.localfile = os.path.basename(os.path.normpath(path))
def download(self, urldata, d):
dldir = d.getVar('DL_DIR')