* [PATCH] bitbake/fetch2: Remove WORKDIR reference, should use passed parameter
@ 2012-05-04 17:24 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-05-04 17:24 UTC (permalink / raw)
To: bitbake-devel
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-04 17:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 17:24 [PATCH] bitbake/fetch2: Remove WORKDIR reference, should use passed parameter Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.