]> git.lyx.org Git - features.git/commitdiff
Avoid unnecessary spaces with the Windows shell. No status line needed as
authorEnrico Forestieri <forenr@lyx.org>
Mon, 10 Oct 2011 22:47:52 +0000 (22:47 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 10 Oct 2011 22:47:52 +0000 (22:47 +0000)
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.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39827 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/filetools.cpp

index 2cab1aa980261b9ba1f5b2e7258a525cd9ef66bc..bf6198332521c24f70405c421ab9fba757733199 100644 (file)
@@ -594,7 +594,7 @@ string latexEnvCmdPrefix(string const & path)
                                          + sep + texinputs + "\" ";
        else
                return "cmd /d /c set TEXINPUTS=." + sep + texinputs_prefix
-                                                  + sep + texinputs + " & ";
+                                                  + sep + texinputs + "&";
 }