]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
fix typo that put too many include paths for most people
[lyx.git] / src / converter.C
index 1e09a7c8695b883f17404edfb8f07947b3570202..d192e26aca7cd9e06ee7be456422793e2e9dec0d 100644 (file)
@@ -657,11 +657,7 @@ bool Converters::convert(Buffer const * buffer,
 
                        if (!conv.parselog.empty()) {
                                string const logfile =  infile2 + ".log";
-                               string script =
-                                       LibFileSearch("scripts",
-                                                     conv.parselog);
-                               if (script.empty())
-                                       script = conv.parselog;
+                               string const script = LibScriptSearch(conv.parselog);
                                string const command2 = script +
                                        " < " + QuoteName(infile2 + ".out") +
                                        " > " + QuoteName(logfile);