From 2d73110e2ccb2f181cfa61ccf47b33e570a79bb4 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Wed, 31 May 2006 14:28:29 +0000 Subject: [PATCH] make sure we get the correct path in windows git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13973 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index e874610432..de581e0d3f 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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''' -- 2.39.2