From: Edwin Leuven Date: Wed, 31 May 2006 14:28:29 +0000 (+0000) Subject: make sure we get the correct path in windows X-Git-Tag: 1.6.10~13167 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2d73110e2ccb2f181cfa61ccf47b33e570a79bb4;p=features.git 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 --- 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'''