On Sun, Oct 09, 2011 at 11:53:36PM +0200, for...@lyx.org wrote: > Author: forenr > Date: Sun Oct 9 23:53:35 2011 > New Revision: 39824 > URL: http://www.lyx.org/trac/changeset/39824 > > Log: > Avoid unnecessary spaces with the Windows shell.
Richard, this is also needed in branch. Here, the problem is that the space before '&' becomes part of the TEXINPUTS variable. Now, miktex has no problem with that, apparently, but texlive fails due to the stray trailing space, because the last path element instead of being empty is a space... > Modified: > lyx-devel/trunk/src/support/filetools.cpp > > Modified: lyx-devel/trunk/src/support/filetools.cpp > ============================================================================== > --- lyx-devel/trunk/src/support/filetools.cpp Sun Oct 9 16:45:51 2011 > (r39823) > +++ lyx-devel/trunk/src/support/filetools.cpp Sun Oct 9 23:53:35 2011 > (r39824) > @@ -594,7 +594,7 @@ > + sep + texinputs + "\" "; > else > return "cmd /d /c set TEXINPUTS=." + sep + texinputs_prefix > - + sep + texinputs + " & "; > + + sep + texinputs + "&"; > } > > -- Enrico