mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Enrico's cygwin fix to configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13784 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6573ea27bc
commit
bc3cdedf14
@ -1,3 +1,6 @@
|
||||
2006-04-29 Enrico Forestieri <forenr@tlc.unipr.it>
|
||||
* configure.py: fix a cygwin compatibility problem with configure.py
|
||||
|
||||
2006-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* configure.py (removeExtraFiles): remove.
|
||||
|
@ -82,7 +82,7 @@ def checkCygwinPath(srcdir):
|
||||
''' Adjust PATH for Win32 (Cygwin) '''
|
||||
if sys.platform == 'cygwin':
|
||||
from tempfile import mkstemp
|
||||
fd, tmpfname = mkstemp(suffix='.ltx')
|
||||
fd, tmpfname = mkstemp(suffix='.ltx', dir='/tmp')
|
||||
os.write(fd, r'''
|
||||
\documentstyle{article}
|
||||
\begin{document}\end{document}
|
||||
@ -90,7 +90,7 @@ def checkCygwinPath(srcdir):
|
||||
os.close(fd)
|
||||
inpname = cmdOutput('cygpath -m ' + tmpfname)
|
||||
# a wrapper file
|
||||
wfd, wtmpfname = mkstemp(suffix='.ltx')
|
||||
wfd, wtmpfname = mkstemp(suffix='.ltx', dir='/tmp')
|
||||
wtmpfname = cmdOutput('cygpath -m ' + wtmpfname)
|
||||
os.write(wfd, r'\input{' + inpname + '}' )
|
||||
os.close(wfd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user