summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <schurig@mn-solutions.de>2004-10-18 09:16:36 +0000
committerHolger Schurig <schurig@mn-solutions.de>2004-10-18 09:16:36 +0000
commitd4bbb29088161bbb35d3198f526805471b24afef (patch)
tree346d7d54ae2d241b391ec92d49715cbce6a491f8
parent55b4c3c1c170b0a4fb1c7a2e9dca5d5b544c96a3 (diff)
downloadbitbake-contrib-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"
-rw-r--r--bin/oe/fetch.py11
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)