summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/patch.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index fdf3c633bc..8de7025491 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -150,12 +150,12 @@ python patch_do_patch() {
150 patchset.Import({"file":local, "strippath": parm['striplevel']}, True) 150 patchset.Import({"file":local, "strippath": parm['striplevel']}, True)
151 except Exception as exc: 151 except Exception as exc:
152 bb.utils.remove(process_tmpdir, True) 152 bb.utils.remove(process_tmpdir, True)
153 bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc))) 153 bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
154 try: 154 try:
155 resolver.Resolve() 155 resolver.Resolve()
156 except bb.BBHandledException as e: 156 except bb.BBHandledException as e:
157 bb.utils.remove(process_tmpdir, True) 157 bb.utils.remove(process_tmpdir, True)
158 bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e))) 158 bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
159 159
160 bb.utils.remove(process_tmpdir, True) 160 bb.utils.remove(process_tmpdir, True)
161 del os.environ['TMPDIR'] 161 del os.environ['TMPDIR']