From: Enrico Forestieri Date: Fri, 16 Sep 2011 12:03:54 +0000 (+0000) Subject: Use the normalized path for checking whether it has already been gathered. X-Git-Tag: 2.1.0beta1~2703 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=45aa989efce92a8b96c37d970cc7547a4fc756ba;p=features.git 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 --- 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)