]> git.tdb.fi Git - builder.git/commitdiff
Drop the .cache suffix when saving config too
authorMikko Rasa <tdb@tdb.fi>
Sun, 17 Aug 2008 07:44:57 +0000 (07:44 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sun, 17 Aug 2008 07:44:57 +0000 (07:44 +0000)
source/config.cpp

index 9ade53032d7481ac8bfbdccedf8e897e2c49e990..da63cc9464f3de13756673db1a8c8c6181f9c9ab 100644 (file)
@@ -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);