Author: forenr
Date: Tue Oct 11 00:47:52 2011
New Revision: 39827
URL: http://www.lyx.org/trac/changeset/39827
Log:
Avoid unnecessary spaces with the Windows shell. No status line needed as
this is a correction to r39770. Essentially, the white space before '&'
becomes part of the TEXINPUTS variable, such that the last path element
is not empty but a space. This still works with miktex but upsets texlive.
Modified:
lyx-devel/branches/BRANCH_2_0_X/src/support/filetools.cpp
Modified: lyx-devel/branches/BRANCH_2_0_X/src/support/filetools.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/support/filetools.cpp Mon Oct 10
17:59:02 2011 (r39826)
+++ lyx-devel/branches/BRANCH_2_0_X/src/support/filetools.cpp Tue Oct 11
00:47:52 2011 (r39827)
@@ -594,7 +594,7 @@
+ sep + texinputs + "\" ";
else
return "cmd /d /c set TEXINPUTS=." + sep + texinputs_prefix
- + sep + texinputs + " & ";
+ + sep + texinputs + "&";
}