]> git.lyx.org Git - features.git/blobdiff - src/lyx_main.C
Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
[features.git] / src / lyx_main.C
index c61b15cd27aca7d698c085dd626eb00d884528b8..665185d0378808cfae531c932b00d0a5bae349c1 100644 (file)
@@ -115,10 +115,7 @@ void showFileError(string const & error)
 
 void reconfigureUserLyXDir()
 {
-       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();
 
        lyxerr << _("LyX: reconfiguring user directory") << endl;
        Path p(package().user_support());