diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-03-17 09:47:14 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-03-17 09:47:14 +0000 |
commit | 2a1e8b3e288dcebc44d13be2493f8fbf58159b5a (patch) | |
tree | 58c90c757b3db76b25991210e7efd341328657f5 | |
parent | 069d1b9c2b1c56c022e89d7205a082009f529878 (diff) | |
download | bitbake-2a1e8b3e288dcebc44d13be2493f8fbf58159b5a.tar.gz |
lib/bb/fetch.py:
-svn_rsh was used, but the code was unreachable leading to
runtime errors
-now if the proto is svn+ssh, honor rsh parameter of the
URL
-rw-r--r-- | lib/bb/fetch/svn.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index 1df38f94d..6e3a9277a 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -103,6 +103,10 @@ class Svn(Fetch): else: proto = "svn" + svn_rsh = None + if proto == "svn+ssh" and "rsh" in parm: + svn_rsh = parm["rsh"] + tarfn = data.expand('%s_%s_%s_%s_%s.tar.gz' % (module.replace('/', '.'), host, path.replace('/', '.'), revision, date), localdata) data.setVar('TARFILES', dlfile, localdata) data.setVar('TARFN', tarfn, localdata) |