mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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
This commit is contained in:
parent
5c8f40106a
commit
2d73110e2c
@ -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'''
|
||||
|
Loading…
Reference in New Issue
Block a user