From 3acc68bec7c05ca2e1c21d104a64220e1199b34a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Mar 2021 14:07:56 +0200 Subject: Fix bug in file cache logic (compression disabled) --- libbuild2/file-cache.cxx | 2 ++ 1 file changed, 2 insertions(+) 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:: -- cgit v1.1