summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/cargo_common.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass
index 2386cc3d77..c528ae7f39 100644
--- a/meta/classes-recipe/cargo_common.bbclass
+++ b/meta/classes-recipe/cargo_common.bbclass
@@ -142,7 +142,7 @@ python cargo_common_do_patch_paths() {
142 fetcher = bb.fetch2.Fetch(src_uri, d) 142 fetcher = bb.fetch2.Fetch(src_uri, d)
143 for url in fetcher.urls: 143 for url in fetcher.urls:
144 ud = fetcher.ud[url] 144 ud = fetcher.ud[url]
145 if ud.type == 'git': 145 if ud.type == 'git' or ud.type == 'gitsm':
146 name = ud.parm.get('name') 146 name = ud.parm.get('name')
147 destsuffix = ud.parm.get('destsuffix') 147 destsuffix = ud.parm.get('destsuffix')
148 if name is not None and destsuffix is not None: 148 if name is not None and destsuffix is not None: