diff options
author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2007-01-06 09:13:31 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2007-01-06 09:13:31 +0000 |
commit | fe80d7a32bcc886f97bd08860ce39fa1f0b0928b (patch) | |
tree | 0f6b02a9dbd68f0bf64effb3c148aae8b24f6647 | |
parent | e606c92dea48c7dd5850ea6f29c258439e1610f9 (diff) | |
download | bitbake-fe80d7a32bcc886f97bd08860ce39fa1f0b0928b.tar.gz |
CVS Fetcher: Added support for non-default port (needed for rxvt-unicode in OE).
-rw-r--r-- | lib/bb/fetch/cvs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bb/fetch/cvs.py b/lib/bb/fetch/cvs.py index a2ff8ece8..04d9e4c77 100644 --- a/lib/bb/fetch/cvs.py +++ b/lib/bb/fetch/cvs.py @@ -118,6 +118,10 @@ class Cvs(Fetch): else: localdir = module + cvs_port = 2401 + if "port" in parm: + cvs_port = parm["port"] + cvs_rsh = None if method == "ext": if "rsh" in parm: @@ -147,7 +151,7 @@ class Cvs(Fetch): cvsroot = ":" + method + ":" + user if pswd: cvsroot += ":" + pswd - cvsroot += "@" + host + ":" + path + cvsroot += "@" + host + ":" + cvs_port + path data.setVar('CVSROOT', cvsroot, localdata) data.setVar('CVSCOOPTS', " ".join(options), localdata) |