diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 95674b3706..aaa2d3aabd 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py | |||
@@ -776,7 +776,7 @@ def patch_path(url, fetch, workdir, expand=True): | |||
776 | 776 | ||
777 | local = fetch.localpath(url) | 777 | local = fetch.localpath(url) |
778 | base, ext = os.path.splitext(os.path.basename(local)) | 778 | base, ext = os.path.splitext(os.path.basename(local)) |
779 | if ext in ('.gz', '.bz2', '.Z'): | 779 | if ext in ('.gz', '.bz2', '.xz', '.Z'): |
780 | if expand: | 780 | if expand: |
781 | local = os.path.join(workdir, base) | 781 | local = os.path.join(workdir, base) |
782 | ext = os.path.splitext(base)[1] | 782 | ext = os.path.splitext(base)[1] |