Fixing creation and use of profile direcory

This commit is contained in:
Philip Rinn
2010-08-18 23:55:16 +02:00
parent dc4deeab0c
commit ca573c4d8a
6 changed files with 17 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ void ProfileStore::parseProfiles () {
pparams.clear ();
if (options.multiUser) {
Glib::ustring userPD = options.rtdir + "/" + options.profilePath;
Glib::ustring userPD = options.cacheBaseDir + "/" + options.profilePath;
if (!Glib::file_test (userPD, Glib::FILE_TEST_IS_DIR))
g_mkdir_with_parents (userPD.c_str(), 511);
parseDir (userPD);