summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/patch.py')
-rw-r--r--meta/lib/oe/patch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 8c8e96a2dc..7dd31d9d46 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -793,6 +793,8 @@ def patch_path(url, fetch, workdir, expand=True):
793 """Return the local path of a patch, or return nothing if this isn't a patch""" 793 """Return the local path of a patch, or return nothing if this isn't a patch"""
794 794
795 local = fetch.localpath(url) 795 local = fetch.localpath(url)
796 if os.path.isdir(local):
797 return
796 base, ext = os.path.splitext(os.path.basename(local)) 798 base, ext = os.path.splitext(os.path.basename(local))
797 if ext in ('.gz', '.bz2', '.xz', '.Z'): 799 if ext in ('.gz', '.bz2', '.xz', '.Z'):
798 if expand: 800 if expand: