diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2006-03-19 12:33:15 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2006-03-19 12:33:15 +0000 |
commit | 090be08ac91f1c56ee1d75e45ccc6a40ecec9a48 (patch) | |
tree | af441073fd0b58f93713f9ebbdc09c8b32d39162 /libs | |
parent | 46f5456853c1301901b9b57089bda856b7377072 (diff) |
ensure .ardour directory is created, update build docs
git-svn-id: svn://localhost/trunk/ardour2@406 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/globals.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 9c3cadafe2..e3953860e2 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -311,7 +311,11 @@ ARDOUR::get_user_ardour_path () path = envvar; path += "/.ardour/"; - + + /* create it if necessary */ + + mkdir (path.c_str (), 0755); + return path; } |