From 8c51cd2ad0b1b743c2c1f8f5f1b077bba105b471 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 10 Oct 2011 22:47:52 +0000 Subject: [PATCH] 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. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index 2cab1aa980..bf61983325 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -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 + "&"; } -- 2.39.5