mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix a regression reported at #9146
This regression was introduced by me at 8b66f9ce
. I did not take
into account that a call to a python script containing $$s is embedded
within a separate python script. Thus, when commandPrep() is called it
only sees the call to the outer python script, and does not see the
$$s contained in that python script. It therefore did not substitute
for it. This fix simply calls commandPrep() directly before writing
the embedded command.
This commit is contained in:
parent
8be7da42e9
commit
ab67ce3757
@ -324,7 +324,7 @@ static void build_script(string const & from_file,
|
||||
|
||||
ostringstream os;
|
||||
os << os::python() << ' '
|
||||
<< "$$s/scripts/convertDefault.py" << ' ';
|
||||
<< commandPrep("$$s/scripts/convertDefault.py") << ' ';
|
||||
if (!from_format.empty())
|
||||
os << strip_digit(from_format) << ':';
|
||||
// The extra " quotes around infile and outfile are needed
|
||||
|
Loading…
Reference in New Issue
Block a user