diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
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 |
