diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index f856cf6a2b..0564f9c2a4 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -893,9 +893,9 @@ def package_qa_check_src_uri(pn, d, messages): | |||
893 | if "${PN}" in d.getVar("SRC_URI", False): | 893 | if "${PN}" in d.getVar("SRC_URI", False): |
894 | package_qa_handle_error("src-uri-bad", "%s: SRC_URI uses PN not BPN" % pn, d) | 894 | package_qa_handle_error("src-uri-bad", "%s: SRC_URI uses PN not BPN" % pn, d) |
895 | 895 | ||
896 | pn = d.getVar("SRC_URI") | 896 | for url in d.getVar("SRC_URI").split(): |
897 | if re.search(r"github\.com/.+/.+/archive/.+", pn): | 897 | if re.search(r"github\.com/.+/.+/archive/.+", url): |
898 | package_qa_handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub archives" % pn, d) | 898 | package_qa_handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub archives" % pn, d) |
899 | 899 | ||
900 | 900 | ||
901 | # The PACKAGE FUNC to scan each package | 901 | # The PACKAGE FUNC to scan each package |