From patchwork Fri May 4 17:24:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] bitbake/fetch2: Remove WORKDIR reference, should use passed parameter Date: Fri, 04 May 2012 17:24:32 -0000 From: Richard Purdie X-Patchwork-Id: 27079 Message-Id: <1336152272.23777.26.camel@ted> To: bitbake-devel Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 329b5bc..1e28e25 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -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