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/ssh.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py
index a104c9eb19..a985de4ce0 100644
--- a/bitbake/lib/bb/fetch2/ssh.py
+++ b/bitbake/lib/bb/fetch2/ssh.py
@@ -96,6 +96,11 @@ class SSH(FetchMethod):
96 fr += '@%s' % host 96 fr += '@%s' % host
97 else: 97 else:
98 fr = host 98 fr = host
99
100 if path[0] != '~':
101 path = '/%s' % path
102 path = path.replace("%3A", ":")
103
99 fr += ':%s' % path 104 fr += ':%s' % path
100 105
101 cmd = 'scp -B -r %s %s %s/' % ( 106 cmd = 'scp -B -r %s %s %s/' % (