diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/ssh.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/ssh.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py index 4ae979472c..635578a711 100644 --- a/bitbake/lib/bb/fetch2/ssh.py +++ b/bitbake/lib/bb/fetch2/ssh.py | |||
| @@ -87,7 +87,8 @@ class SSH(FetchMethod): | |||
| 87 | m = __pattern__.match(urldata.url) | 87 | m = __pattern__.match(urldata.url) |
| 88 | path = m.group('path') | 88 | path = m.group('path') |
| 89 | host = m.group('host') | 89 | host = m.group('host') |
| 90 | urldata.localpath = os.path.join(d.getVar('DL_DIR', True), os.path.basename(path)) | 90 | urldata.localpath = os.path.join(d.getVar('DL_DIR', True), |
| 91 | os.path.basename(os.path.normpath(path))) | ||
| 91 | 92 | ||
| 92 | def download(self, urldata, d): | 93 | def download(self, urldata, d): |
| 93 | dldir = d.getVar('DL_DIR', True) | 94 | dldir = d.getVar('DL_DIR', True) |
