diff options
author | Holger Schurig <schurig@mn-solutions.de> | 2004-10-18 09:16:36 +0000 |
---|---|---|
committer | Holger Schurig <schurig@mn-solutions.de> | 2004-10-18 09:16:36 +0000 |
commit | d4bbb29088161bbb35d3198f526805471b24afef (patch) | |
tree | 346d7d54ae2d241b391ec92d49715cbce6a491f8 /bin | |
parent | 55b4c3c1c170b0a4fb1c7a2e9dca5d5b544c96a3 (diff) | |
download | bitbake-d4bbb29088161bbb35d3198f526805471b24afef.tar.gz |
allow for "-d /usr/src/CVS" parameter to cvs if you set
SRC_URI = "cvs:///usr/src/CVS;module=mnci/qt3/mnrdp;method=dir"
Diffstat (limited to 'bin')
-rw-r--r-- | bin/oe/fetch.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/oe/fetch.py b/bin/oe/fetch.py index 5fa589eff..ae13f2ed7 100644 --- a/bin/oe/fetch.py +++ b/bin/oe/fetch.py @@ -366,10 +366,13 @@ class Cvs(Fetch): os.chdir(oe.data.expand(dldir, localdata)) # setup cvsroot - cvsroot = ":" + method + ":" + user - if pswd: - cvsroot += ":" + pswd - cvsroot += "@" + host + ":" + path + if method == "dir": + cvsroot = path + else: + cvsroot = ":" + method + ":" + user + if pswd: + cvsroot += ":" + pswd + cvsroot += "@" + host + ":" + path oe.data.setVar('CVSROOT', cvsroot, localdata) oe.data.setVar('CVSCOOPTS', " ".join(options), localdata) |