diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-22 14:07:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-22 14:07:56 +0200 |
commit | 3acc68bec7c05ca2e1c21d104a64220e1199b34a (patch) | |
tree | e9fbc2226282568d076c980146c2d549fe78a468 | |
parent | 21a23077ce1870c5e427730c4760057cf2eb54b6 (diff) |
Fix bug in file cache logic (compression disabled)
-rw-r--r-- | libbuild2/file-cache.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/file-cache.cxx b/libbuild2/file-cache.cxx index 0c3ef9f..1c1424f 100644 --- a/libbuild2/file-cache.cxx +++ b/libbuild2/file-cache.cxx @@ -61,6 +61,8 @@ namespace build2 fail << comp_path_ << " (or its uncompressed variant) does not exist" << info << "consider cleaning the build state"; } + else + state_ = uncomp; } void file_cache::entry:: |