From: Richard Purdie Date: Fri, 4 May 2012 17:24:32 +0000 (+0100) Subject: bitbake/fetch2: Remove WORKDIR reference, should use passed parameter X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9384dfaf644365c731be26572443287ce8f190b2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake/fetch2: Remove WORKDIR reference, should use passed parameter Signed-off-by: Richard Purdie --- diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 3391e6afe86..4334b527f33 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -706,7 +706,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