diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/base.bbclass | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index f6dcba2b96..52a4dd37e2 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -458,11 +458,7 @@ python base_do_patch() { if "pname" in parm: pname = parm["pname"] else: - dots = os.path.basename(unpacked).split(".") - if len(dots) > 1: - pname = ".".join(dots[:-1]) - else: - pname = os.path.basename(unpacked) + pname = os.path.basename(unpacked) bb.note("Applying patch '%s'" % pname) bb.data.setVar("do_patchcmd", bb.data.getVar("PATCHCMD", d, 1) % (pnum, pname, unpacked), d) |