]> git.lyx.org Git - lyx.git/blobdiff - src/Mover.cpp
Remove all uses of Q_WS_* macros
[lyx.git] / src / Mover.cpp
index 13ee2c81de5c9e343023eef52250364e76eba1a7..16d225bfa700333441fa647aace9c3872aa27eb8 100644 (file)
@@ -59,10 +59,11 @@ bool SpecialisedMover::do_copy(FileName const & from, FileName const & to,
        if (command_.empty())
                return Mover::do_copy(from, to, latex);
 
-       string command = libScriptSearch(command_);
+       string command = command_;
        command = subst(command, "$$i", quoteName(from.toFilesystemEncoding()));
        command = subst(command, "$$o", quoteName(to.toFilesystemEncoding()));
        command = subst(command, "$$l", quoteName(latex));
+       command = subst(command, "$${python}", os::python());
 
        Systemcall one;
        return one.startscript(Systemcall::Wait, command) == 0;