From 45aa989efce92a8b96c37d970cc7547a4fc756ba Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Fri, 16 Sep 2011 12:03:54 +0000 Subject: [PATCH] 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 --- lib/scripts/lyxpak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/lyxpak.py b/lib/scripts/lyxpak.py index ced3b385ed..a884d88031 100755 --- a/lib/scripts/lyxpak.py +++ b/lib/scripts/lyxpak.py @@ -121,7 +121,7 @@ def gather_files(curfile, incfiles, lyx2lyx): file = file + ext file_exists = True break - if file_exists and not file in incfiles: + if file_exists and not abspath(file) in incfiles: incfiles.append(abspath(file)) if recursive: gather_files(file, incfiles, lyx2lyx) -- 2.39.2