From 2605ca19c54cfb285f139cf99a3b0aab2af1781f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 May 2012 18:24:32 +0100 Subject: bitbake/fetch2: Remove WORKDIR reference, should use passed parameter (Bitbake rev: 9384dfaf644365c731be26572443287ce8f190b2) Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/fetch2') diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 3391e6afe8..4334b527f3 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/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 -- cgit v1.2.3-54-g00ecf