]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/TeXFiles.py
iucr.layout: use Item_Environment for a style as proposed by Jürgen
[lyx.git] / lib / scripts / TeXFiles.py
index e13425d8ef6f24b4247406ff8cb45d1d86b38afc..9e6f6b54898f584d9b9a6d6470cc3b1594bdc1f2 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file TeXFiles.py
@@ -73,9 +72,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 = ':'