From 0dac6b545b8b7467ee6488f6b4d48d81322db457 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Feb 2009 04:41:09 +0000 Subject: 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 --- libs/ardour/filesystem_paths.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'libs/ardour/filesystem_paths.cc') 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"); -- cgit v1.2.3