summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index bd0d6e3ca6..3014767b8a 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -100,8 +100,8 @@ def get_lic_checksum_file_list(d):
100 # We only care about items that are absolute paths since 100 # We only care about items that are absolute paths since
101 # any others should be covered by SRC_URI. 101 # any others should be covered by SRC_URI.
102 try: 102 try:
103 path = bb.fetch.decodeurl(url)[2] 103 (method, host, path, user, pswd, parm) = bb.fetch.decodeurl(url)
104 if not path: 104 if method != "file" or not path:
105 raise bb.fetch.MalformedUrl(url) 105 raise bb.fetch.MalformedUrl(url)
106 106
107 if path[0] == '/': 107 if path[0] == '/':