mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
Invoke scripts by prepending the name of the script language executable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9489 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3a74ee036e
commit
2365df80bf
@ -1,3 +1,8 @@
|
||||
2005-01-17 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* buffer.C (readFile): prepend the name of the "lyx2lyx" script
|
||||
with "python ". Workaround for a brain-dead Windows.
|
||||
|
||||
2005-01-16 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
|
||||
|
@ -619,7 +619,8 @@ bool Buffer::readFile(LyXLex & lex, string const & filename, pit_type const pit)
|
||||
filename));
|
||||
return false;
|
||||
}
|
||||
string command = LibFileSearch("lyx2lyx", "lyx2lyx");
|
||||
string command =
|
||||
"python " + LibFileSearch("lyx2lyx", "lyx2lyx");
|
||||
if (command.empty()) {
|
||||
Alert::error(_("Conversion script not found"),
|
||||
bformat(_("%1$s is from an earlier"
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-01-17 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* tex_helpers.C (rescanTexStyles): prepend the name of the
|
||||
"TeXFiles" script with "sh ". Workaround for a brain-dead Windows.
|
||||
|
||||
2005-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* ControlErrorList.C (goTo): fix the commented-out code (bug
|
||||
|
@ -50,7 +50,7 @@ void rescanTexStyles()
|
||||
Path p(package().user_support());
|
||||
Systemcall one;
|
||||
one.startscript(Systemcall::Wait,
|
||||
LibFileSearch("scripts", "TeXFiles.sh"));
|
||||
"sh " + LibFileSearch("scripts", "TeXFiles.sh"));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user