]> git.lyx.org Git - features.git/blobdiff - src/lyx_cb.C
Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
[features.git] / src / lyx_cb.C
index 70e751bac3ba7877a28bd06015c18324830c4bd8..fbaab73305bd5c5f4586389d2a4c69c6551cfecd 100644 (file)
@@ -446,9 +446,7 @@ void reconfigure(BufferView * bv)
 
        // Run configure in user lyx directory
        Path p(package().user_support());
-       string const configure_script =
-               addName(package().system_support(), "configure.py");
-       string const configure_command = "python " + quoteName(configure_script);
+       string const configure_command = package().configure_command();
        Systemcall one;
        one.startscript(Systemcall::Wait, configure_command);
        p.pop();