Skip to contentSkip to conversation

bitbake/fetch2: Remove WORKDIR reference, should use passed parameter

PATCH New Richard Purdie 1 participant 1 message May 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake/fetch2: Remove WORKDIR reference, should use passed parameter

---

bitbake/lib/bb/fetch2/__init__.py +1 -1
index 329b5bc..1e28e25 100644
@@ -707,7 +707,7 @@ class FetchMethod(object):
 
         dots = file.split(".")
         if dots[-1] in ['gz', 'bz2', 'Z']:
-            efile = os.path.join(data.getVar('WORKDIR', True),os.path.basename('.'.join(dots[0:-1])))
+            efile = os.path.join(rootdir, os.path.basename('.'.join(dots[0:-1])))
         else:
             efile = file
         cmd = None