diff options
Diffstat (limited to 'meta/classes/distrodata.bbclass')
-rw-r--r-- | meta/classes/distrodata.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass index 5a4c1b6faf..44c06e1481 100644 --- a/meta/classes/distrodata.bbclass +++ b/meta/classes/distrodata.bbclass | |||
@@ -271,9 +271,9 @@ python do_checkpkg() { | |||
271 | from bb.fetch2 import FetchError, NoMethodError, decodeurl | 271 | from bb.fetch2 import FetchError, NoMethodError, decodeurl |
272 | 272 | ||
273 | """first check whether a uri is provided""" | 273 | """first check whether a uri is provided""" |
274 | src_uri = d.getVar('SRC_URI', True) | 274 | src_uri = (d.getVar('SRC_URI', True) or '').split() |
275 | if src_uri: | 275 | if src_uri: |
276 | uri_type, _, _, _, _, _ = decodeurl(src_uri) | 276 | uri_type, _, _, _, _, _ = decodeurl(src_uri[0]) |
277 | else: | 277 | else: |
278 | uri_type = "none" | 278 | uri_type = "none" |
279 | 279 | ||