diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build.cpp b/src/build.cpp index e3ead80..dd6db1e 100644 --- a/src/build.cpp +++ b/src/build.cpp | |||
@@ -21,7 +21,8 @@ Build::~Build() | |||
21 | { | 21 | { |
22 | try | 22 | try |
23 | { | 23 | { |
24 | Bu::File f( sCacheName.c_str(), Bu::File::Write ); | 24 | Bu::File f( sCacheName.c_str(), |
25 | Bu::File::Write|Bu::File::Create|Bu::File::Truncate ); | ||
25 | Bu::Archive ar( f, Bu::Archive::save ); | 26 | Bu::Archive ar( f, Bu::Archive::save ); |
26 | 27 | ||
27 | ar << cRequires; | 28 | ar << cRequires; |