From d4bbb29088161bbb35d3198f526805471b24afef Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Mon, 18 Oct 2004 09:16:36 +0000 Subject: allow for "-d /usr/src/CVS" parameter to cvs if you set SRC_URI = "cvs:///usr/src/CVS;module=mnci/qt3/mnrdp;method=dir" --- bin/oe/fetch.py | 11 +++++++---- 1 file 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) -- cgit 1.2.3-korg