summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 6211cd7f5d..451d104f67 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1157,7 +1157,7 @@ class FetchMethod(object):
1157 (file, urldata.parm.get('unpack'))) 1157 (file, urldata.parm.get('unpack')))
1158 1158
1159 dots = file.split(".") 1159 dots = file.split(".")
1160 if dots[-1] in ['gz', 'bz2', 'Z']: 1160 if dots[-1] in ['gz', 'bz2', 'Z', 'xz']:
1161 efile = os.path.join(rootdir, os.path.basename('.'.join(dots[0:-1]))) 1161 efile = os.path.join(rootdir, os.path.basename('.'.join(dots[0:-1])))
1162 else: 1162 else:
1163 efile = file 1163 efile = file