projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert inadvertantly committed stuff from 10322.
[ardour.git]
/
libs
/
ardour
/
filesystem_paths.cc
diff --git
a/libs/ardour/filesystem_paths.cc
b/libs/ardour/filesystem_paths.cc
index 932416ef413afd4e8b403c8833079dc5161baf05..5dc5e4dbdef823bb31cf4fc796e5a6a4d37801ec 100644
(file)
--- a/
libs/ardour/filesystem_paths.cc
+++ b/
libs/ardour/filesystem_paths.cc
@@
-47,20
+47,20
@@
user_config_directory ()
p = c;
} else {
const string home_dir = Glib::get_home_dir();
p = c;
} else {
const string home_dir = Glib::get_home_dir();
-
+
if (home_dir.empty ()) {
const string error_msg = "Unable to determine home directory";
if (home_dir.empty ()) {
const string error_msg = "Unable to determine home directory";
-
+
// log the error
error << error_msg << endmsg;
// log the error
error << error_msg << endmsg;
-
+
throw sys::filesystem_error(error_msg);
}
p = home_dir;
p /= ".config";
}
throw sys::filesystem_error(error_msg);
}
p = home_dir;
p /= ".config";
}
-
+
p /= user_config_dir_name;
return p;
p /= user_config_dir_name;
return p;