]> git.lyx.org Git - features.git/commitdiff
make sure we get the correct path in windows
authorEdwin Leuven <e.leuven@gmail.com>
Wed, 31 May 2006 14:28:29 +0000 (14:28 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Wed, 31 May 2006 14:28:29 +0000 (14:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13973 a592a061-630c-0410-9148-cb99ea01b6c8

lib/configure.py

index e8746104329f85fb85ade25d7cd7bb20b7de31de..de581e0d3fbef8fbc88b131e77a818699f7ae4e9 100644 (file)
@@ -81,7 +81,9 @@ def createDirectories():
 def checkCygwinPath(srcdir):
   ''' Adjust PATH for Win32 (Cygwin) '''
   cygwin_path_fix = ''
-  if sys.platform == 'cygwin':
+  if os.name == 'nt':
+    cygwin_path_fix = 'true'
+  elif sys.platform == 'cygwin':
     from tempfile import mkstemp
     fd, tmpfname = mkstemp(suffix='.ltx', dir='/tmp')
     os.write(fd, r'''