summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/svn.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
index cabc290535..3271be326c 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -79,9 +79,9 @@ class Svn(FetchMethod):
79 79
80 proto = ud.parm.get('protocol', 'svn') 80 proto = ud.parm.get('protocol', 'svn')
81 81
82 svn_rsh = None 82 svn_ssh = None
83 if proto == "svn+ssh" and "rsh" in ud.parm: 83 if proto == "svn+ssh" and "ssh" in ud.parm:
84 svn_rsh = ud.parm["rsh"] 84 svn_ssh = ud.parm["ssh"]
85 85
86 svnroot = ud.host + ud.path 86 svnroot = ud.host + ud.path
87 87
@@ -113,8 +113,8 @@ class Svn(FetchMethod):
113 else: 113 else:
114 raise FetchError("Invalid svn command %s" % command, ud.url) 114 raise FetchError("Invalid svn command %s" % command, ud.url)
115 115
116 if svn_rsh: 116 if svn_ssh:
117 svncmd = "svn_RSH=\"%s\" %s" % (svn_rsh, svncmd) 117 svncmd = "SVN_SSH=\"%s\" %s" % (svn_ssh, svncmd)
118 118
119 return svncmd 119 return svncmd
120 120