summaryrefslogtreecommitdiffstats
path: root/meta/classes/patch.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/patch.bbclass')
-rw-r--r--meta/classes/patch.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index ee8a2026fc..80fd45f0e3 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -58,9 +58,8 @@ python patch_do_patch() {
58 continue 58 continue
59 59
60 if not local: 60 if not local:
61 bb.fetch.init([url],d)
62 url = bb.encodeurl((type, host, path, user, pswd, [])) 61 url = bb.encodeurl((type, host, path, user, pswd, []))
63 local = os.path.join('/', bb.fetch.localpath(url, d)) 62 local = os.path.join('/', bb.fetch2.localpath(url, d))
64 local = bb.data.expand(local, d) 63 local = bb.data.expand(local, d)
65 64
66 if "striplevel" in parm: 65 if "striplevel" in parm: