diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index cb2338e777..611024aae3 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -1312,6 +1312,7 @@ class Builder(gtk.Window): | |||
1312 | 1312 | ||
1313 | def do_log(self, consolelogfile = None): | 1313 | def do_log(self, consolelogfile = None): |
1314 | if consolelogfile: | 1314 | if consolelogfile: |
1315 | bb.utils.mkdirhier(os.path.dirname(consolelogfile)) | ||
1315 | if self.consolelog: | 1316 | if self.consolelog: |
1316 | self.logger.removeHandler(self.consolelog) | 1317 | self.logger.removeHandler(self.consolelog) |
1317 | self.consolelog = None | 1318 | self.consolelog = None |