diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 49797a6701..8db79a4829 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -896,6 +896,7 @@ python buildhistory_eventhandler() { | |||
896 | if os.path.isdir(olddir): | 896 | if os.path.isdir(olddir): |
897 | shutil.rmtree(olddir) | 897 | shutil.rmtree(olddir) |
898 | rootdir = e.data.getVar("BUILDHISTORY_DIR") | 898 | rootdir = e.data.getVar("BUILDHISTORY_DIR") |
899 | bb.utils.mkdirhier(rootdir) | ||
899 | entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ] | 900 | entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ] |
900 | bb.utils.mkdirhier(olddir) | 901 | bb.utils.mkdirhier(olddir) |
901 | for entry in entries: | 902 | for entry in entries: |