mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Enable TeXFiles.sh to run when its path contains spaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10417 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4110aa3b1e
commit
e2a6073643
@ -1,3 +1,8 @@
|
||||
2005-08-10 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* tex_helpers.C (rescanTexStyles): Quote the path to TeXFiles.sh
|
||||
to avoid problems with "paths with spaces".
|
||||
|
||||
2005-08-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ControlExternal.C (origin_gui_str): ensure that the strings
|
||||
|
@ -37,6 +37,7 @@ using support::LibFileSearch;
|
||||
using support::OnlyFilename;
|
||||
using support::package;
|
||||
using support::Path;
|
||||
using support::QuoteName;
|
||||
using support::split;
|
||||
using support::Systemcall;
|
||||
using support::token;
|
||||
@ -51,7 +52,8 @@ void rescanTexStyles()
|
||||
Path p(package().user_support());
|
||||
Systemcall one;
|
||||
one.startscript(Systemcall::Wait,
|
||||
"sh " + LibFileSearch("scripts", "TeXFiles.sh"));
|
||||
"sh " +
|
||||
QuoteName(LibFileSearch("scripts", "TeXFiles.sh")));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user