diff options
author | David Robillard <d@drobilla.net> | 2009-02-26 04:41:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-26 04:41:09 +0000 |
commit | 0dac6b545b8b7467ee6488f6b4d48d81322db457 (patch) | |
tree | 36c6f7ca3b181faa7e3bfb845476f086d1770e72 /libs/ardour/filesystem_paths.cc | |
parent | 802fac5ea2e1e24419195aa1b00e754eeab9ad48 (diff) |
Waf: build UI/RC files, menu files, keybinding files, and fix paths in wrapper scripts.
Ardour should now build and run when built with waf from a clean svn checkout.
git-svn-id: svn://localhost/ardour2/branches/3.0@4676 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/filesystem_paths.cc')
-rw-r--r-- | libs/ardour/filesystem_paths.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index a13b7fc45f..bc2055c0dc 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -36,8 +36,7 @@ user_config_directory () { const string home_dir = Glib::get_home_dir (); - if (home_dir.empty ()) - { + if (home_dir.empty ()) { const string error_msg = "Unable to determine home directory"; // log the error @@ -71,13 +70,9 @@ SearchPath system_config_search_path () { #ifdef WITH_STATIC_PATHS - SearchPath config_path(string(CONFIG_DIR)); - #else - SearchPath config_path(system_config_directories()); - #endif config_path.add_subdirectory_to_paths("ardour3"); @@ -89,13 +84,9 @@ SearchPath system_data_search_path () { #ifdef WITH_STATIC_PATHS - SearchPath data_path(string(DATA_DIR)); - #else - SearchPath data_path(system_data_directories()); - #endif data_path.add_subdirectory_to_paths("ardour3"); |