On Mon, May 22, 2006 at 10:50:40AM +0200, Jean-Marc Lasgouttes wrote:

> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> Enrico> If it is accepted, someone should apply it, though.
> 
> Hmm, I lost the patch.

Here it is again.

-- 
Enrico
Index: lib/configure.py
===================================================================
--- lib/configure.py    (revision 13864)
+++ lib/configure.py    (working copy)
@@ -81,7 +81,9 @@
 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'''

Reply via email to