summaryrefslogtreecommitdiff
path: root/muse2/muse/remote/pyapi.cpp
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-20 04:54:36 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-20 04:54:36 +0000
commit673172e3ffb8e345b2bbfb6596ac3d79a1e17f14 (patch)
treed6535f36f0ff55b0f313d5e0aac8823c3fd98161 /muse2/muse/remote/pyapi.cpp
parentda484f0563218c2432ee4d6f2eb3ce8c7c298622 (diff)
Major cmake cleanup. Please see the ChangeLog.
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);