mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use the normalized path for checking whether it has already been gathered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39691 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
517cfe9266
commit
45aa989efc
@ -121,7 +121,7 @@ def gather_files(curfile, incfiles, lyx2lyx):
|
|||||||
file = file + ext
|
file = file + ext
|
||||||
file_exists = True
|
file_exists = True
|
||||||
break
|
break
|
||||||
if file_exists and not file in incfiles:
|
if file_exists and not abspath(file) in incfiles:
|
||||||
incfiles.append(abspath(file))
|
incfiles.append(abspath(file))
|
||||||
if recursive:
|
if recursive:
|
||||||
gather_files(file, incfiles, lyx2lyx)
|
gather_files(file, incfiles, lyx2lyx)
|
||||||
|
Loading…
Reference in New Issue
Block a user