summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2006-03-19 12:33:15 +0000
committerTim Mayberry <mojofunk@gmail.com>2006-03-19 12:33:15 +0000
commit090be08ac91f1c56ee1d75e45ccc6a40ecec9a48 (patch)
treeaf441073fd0b58f93713f9ebbdc09c8b32d39162
parent46f5456853c1301901b9b57089bda856b7377072 (diff)
ensure .ardour directory is created, update build docs
git-svn-id: svn://localhost/trunk/ardour2@406 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--DOCUMENTATION/BUILD6
-rw-r--r--libs/ardour/globals.cc6
2 files changed, 7 insertions, 5 deletions
diff --git a/DOCUMENTATION/BUILD b/DOCUMENTATION/BUILD
index 0ad880aa29..b43a876f33 100644
--- a/DOCUMENTATION/BUILD
+++ b/DOCUMENTATION/BUILD
@@ -60,11 +60,9 @@ requirement.
- see ftp://ftp.gnome.org/pub/GNOME/MIRRORS.html
and then follow to sources/libart_lgpl
- glib 1.2 (http://www.gtk.org)
- glib-1.2.8 (included with most distributions)
+ Glib 2.6 (http://www.gtk.org)
- GTK+ 1.2 (http://www.gtk.org)
- gtk+-1.2.8 (included with most distributions)
+ GTK+ 2.6 (http://www.gtk.org)
libglade2 (http://www.gnome.org/)
unsure of minimum version. XXX todo.
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;
}