X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fscripts%2FTeXFiles.py;h=578fd56a43526050ac7b7070bc59e1e34b7d3c19;hb=c0bbc020a56e0e55fe4a07230ab6d9851fef0c24;hp=e13425d8ef6f24b4247406ff8cb45d1d86b38afc;hpb=6f18b7987105826cf99a2440ac8f92ed7a9d1446;p=lyx.git diff --git a/lib/scripts/TeXFiles.py b/lib/scripts/TeXFiles.py index e13425d8ef..578fd56a43 100755 --- a/lib/scripts/TeXFiles.py +++ b/lib/scripts/TeXFiles.py @@ -73,9 +73,7 @@ else: # Create a variable that holds the right character to be used by the scripts. path_sep = os.pathsep if sys.platform == 'cygwin': - # MikTeX's kpsewhich says "kpathsea emulation version x.x.x", whereas - # teTeX's simply "kpathsea version x.x.x". - if 'emulation' in cmdOutput('kpsewhich --version'): + if ';' in cmdOutput('kpsewhich --show-path=.tex'): path_sep = ';' else: path_sep = ':'