From: Beth Flanagan <elizabeth.flana...@intel.com>

fromdir was using self.srcdir, but lets be a bit safe and use
a variable we construct in the method.

Signed-off-by: Beth Flanagan <elizabeth.flana...@intel.com>
---
 .../buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
 
b/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
index 6990abe..4e1a334 100644
--- 
a/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
+++ 
b/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py
@@ -307,9 +307,10 @@ class YoctoGit(Source):
             todir = "build"
         else:
             todir = "build/" + self.layername
+        fromdir='source/'+self.repourl
 
         cmd = buildstep.RemoteCommand('cpdir',
-                                      {'fromdir': self.srcdir,
+                                      {'fromdir': fromdir,
                                        'todir': todir,
                                        'logEnviron': self.logEnviron,
                                        'timeout': self.timeout,})
-- 
1.8.1.2

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to