summaryrefslogtreecommitdiff
path: root/muse2/muse/remote/pyapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/remote/pyapi.cpp')
-rw-r--r--muse2/muse/remote/pyapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/remote/pyapi.cpp b/muse2/muse/remote/pyapi.cpp
index ee64226a..84543b18 100644
--- a/muse2/muse/remote/pyapi.cpp
+++ b/muse2/muse/remote/pyapi.cpp
@@ -980,7 +980,7 @@ static void* pyapithreadfunc(void*)
PyObject *pMainModule = PyImport_AddModule( "__main__" );
PyObject *pMainDictionary = PyModule_GetDict( pMainModule );
- string launcherfilename = string(INSTPREFIX) + string("/share/muse/pybridge/museplauncher.py");
+ string launcherfilename = string(SHAREDIR) + string("/pybridge/museplauncher.py");
printf("Initiating MusE Pybridge launcher from %s\n", launcherfilename.c_str());
FILE* fp = fopen(launcherfilename.c_str(),"r");
PyRun_File(fp, launcherfilename.c_str(), Py_file_input, pMainDictionary, pMainDictionary);