From: Mikko Rasa Date: Sun, 17 Aug 2008 07:44:57 +0000 (+0000) Subject: Drop the .cache suffix when saving config too X-Git-Tag: 1.0~23 X-Git-Url: http://git.tdb.fi/?p=builder.git;a=commitdiff_plain;h=39e1c3a79129a1718b5751c17a1cc6cc6903090e Drop the .cache suffix when saving config too --- diff --git a/source/config.cpp b/source/config.cpp index 9ade530..da63cc9 100644 --- a/source/config.cpp +++ b/source/config.cpp @@ -178,11 +178,11 @@ void Config::finish() void Config::save() const { - FS::Path fn=package.get_source()/".options.cache"; + FS::Path fn=package.get_source()/".options"; OptionMap::const_iterator i=options.find("profile"); if(i!=options.end()) - fn=package.get_source()/(".options."+i->second.value+".cache"); + fn=package.get_source()/(".options."+i->second.value); IO::BufferedFile out(fn.str(), IO::M_WRITE);