diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 150f864fe4..a9ab75ee41 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -932,6 +932,9 @@ def get_checksum_file_list(d): | |||
932 | if ud and isinstance(ud.method, local.Local): | 932 | if ud and isinstance(ud.method, local.Local): |
933 | ud.setup_localpath(d) | 933 | ud.setup_localpath(d) |
934 | f = ud.localpath | 934 | f = ud.localpath |
935 | pth = ud.decodedurl | ||
936 | if '*' in pth: | ||
937 | f = os.path.join(os.path.abspath(f), pth) | ||
935 | if f.startswith(dl_dir): | 938 | if f.startswith(dl_dir): |
936 | # The local fetcher's behaviour is to return a path under DL_DIR if it couldn't find the file anywhere else | 939 | # The local fetcher's behaviour is to return a path under DL_DIR if it couldn't find the file anywhere else |
937 | if os.path.exists(f): | 940 | if os.path.exists(f): |