diff options
Diffstat (limited to 'lib/bb/fetch2/ssh.py')
-rw-r--r-- | lib/bb/fetch2/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/ssh.py b/lib/bb/fetch2/ssh.py index 711e66896..246439ef1 100644 --- a/lib/bb/fetch2/ssh.py +++ b/lib/bb/fetch2/ssh.py @@ -68,7 +68,7 @@ class SSH(Fetch): return __pattern__.match(url) != None def localpath(self, url, urldata, d): - m = __pattern__.match(url) + m = __pattern__.match(urldata.url) path = m.group('path') host = m.group('host') lpath = os.path.join(data.getVar('DL_DIR', d, True), host, os.path.basename(path)) |