X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fconverter.C;h=d192e26aca7cd9e06ee7be456422793e2e9dec0d;hb=98c966c64594611e469313314abd1e59524adb4a;hp=1e09a7c8695b883f17404edfb8f07947b3570202;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/converter.C b/src/converter.C index 1e09a7c869..d192e26aca 100644 --- a/src/converter.C +++ b/src/converter.C @@ -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);