bitbake: fetch2/cvs: Fix localdata variable reference
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Sep 2012 10:25:19 +0000 (11:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Sep 2012 10:37:16 +0000 (11:37 +0100)
The localdata variable was removed, fix up a lost reference to this.

(Bitbake rev: 02ccc1396005ce0b7a2150a5ce12b723df21d464)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/cvs.py

index 6a948c4..09827e6 100644 (file)
@@ -122,7 +122,7 @@ class Cvs(FetchMethod):
         # create module directory
         logger.debug(2, "Fetch: checking for module directory")
         pkg = data.expand('${PN}', d)
-        pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg)
+        pkgdir = os.path.join(data.expand('${CVSDIR}', d), pkg)
         moddir = os.path.join(pkgdir, localdir)
         if os.access(os.path.join(moddir, 'CVS'), os.R_OK):
             logger.info("Update " + loc)