]> git.lyx.org Git - features.git/commitdiff
Use the normalized path for checking whether it has already been gathered.
authorEnrico Forestieri <forenr@lyx.org>
Fri, 16 Sep 2011 12:03:54 +0000 (12:03 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 16 Sep 2011 12:03:54 +0000 (12:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39691 a592a061-630c-0410-9148-cb99ea01b6c8

lib/scripts/lyxpak.py

index ced3b385eddd0333b7c4761cba0c20dea46f3d31..a884d88031118c2132e4f48bcdd15777cffa6141 100755 (executable)
@@ -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)