From 090be08ac91f1c56ee1d75e45ccc6a40ecec9a48 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sun, 19 Mar 2006 12:33:15 +0000 Subject: ensure .ardour directory is created, update build docs git-svn-id: svn://localhost/trunk/ardour2@406 d708f5d6-7413-0410-9779-e7cbd77b26cf --- DOCUMENTATION/BUILD | 6 ++---- libs/ardour/globals.cc | 6 +++++- 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; } -- cgit v1.2.3