summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-04 18:24:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-07 11:03:00 +0100
commit2605ca19c54cfb285f139cf99a3b0aab2af1781f (patch)
treede82b8fd62c578c7db4ec816d0202840d0170c48 /bitbake
parent3b78ad8041e0ea232b8363e120595cab85b30507 (diff)
downloadpoky-2605ca19c54cfb285f139cf99a3b0aab2af1781f.tar.gz
bitbake/fetch2: Remove WORKDIR reference, should use passed parameter
(Bitbake rev: 9384dfaf644365c731be26572443287ce8f190b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
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):
706 706
707 dots = file.split(".") 707 dots = file.split(".")
708 if dots[-1] in ['gz', 'bz2', 'Z']: 708 if dots[-1] in ['gz', 'bz2', 'Z']:
709 efile = os.path.join(data.getVar('WORKDIR', True),os.path.basename('.'.join(dots[0:-1]))) 709 efile = os.path.join(rootdir, os.path.basename('.'.join(dots[0:-1])))
710 else: 710 else:
711 efile = file 711 efile = file
712 cmd = None 712 cmd = None