aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/file-cache.cxx2
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::