13
0

tracking down why alpha binaries don't find control surfaces

git-svn-id: svn://localhost/ardour2/branches/3.0@9189 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-03-23 14:09:48 +00:00
parent 7178f031ba
commit e43b01535c
3 changed files with 12 additions and 14 deletions

View File

@ -17,6 +17,7 @@
*/
#include <iostream>
#include <glibmm/miscutils.h>
#include "ardour/control_protocol_search_path.h"
@ -37,15 +38,15 @@ control_protocol_search_path ()
bool surfaces_path_defined = false;
SearchPath spath_env (Glib::getenv(surfaces_env_variable_name, surfaces_path_defined));
if (surfaces_path_defined)
{
if (surfaces_path_defined) {
return spath_env;
}
SearchPath spath (user_config_directory ());
spath += ardour_module_directory ();
std::cerr << "for CPS, AMD = " << ardour_module_directory().to_string() << std::endl;
spath += ardour_module_directory ();
spath.add_subdirectory_to_paths (surfaces_dir_name);
return spath;

View File

@ -17,6 +17,7 @@
*/
#include <iostream>
#include <glibmm/miscutils.h>
#include "ardour/panner_search_path.h"
@ -43,6 +44,8 @@ panner_search_path ()
SearchPath spath (user_config_directory ());
std::cerr << "for panner, AMD = " << ardour_module_directory().to_string() << std::endl;
spath += ardour_module_directory ();
spath.add_subdirectory_to_paths(panner_dir_name);

View File

@ -7,13 +7,7 @@ while [ $# -gt 0 ] ; do
-d)
DEBUG="T";
shift ;;
*)
#catch all for unknown arguments
echo ""
echo "!!! ERROR !!! - Unknown argument $1"
echo ""
exit 1
;;
*) break;;
esac
done