]> git.lyx.org Git - features.git/commitdiff
Fix bug #8379: LyX Archive fails to include BibTeX files
authorEnrico Forestieri <forenr@lyx.org>
Sat, 20 Oct 2012 16:27:35 +0000 (18:27 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 21 Oct 2012 19:54:20 +0000 (21:54 +0200)
(cherry picked from commit f6fde4b55326c7fe3821c05d64fb00d2c36c4ef4)

lib/scripts/lyxpak.py
status.20x

index d34197799efdf4d8c2ce27117b3ad6735199c854..4d10cb641713b29d184979ef7eab27b13a273b95 100755 (executable)
@@ -160,7 +160,7 @@ def gather_files(curfile, incfiles, lyx2lyx):
             j = 0
             while j < len(bibfiles):
                 if os.path.isabs(bibfiles[j]):
-                    file = bibfiles[j]
+                    file = bibfiles[j] + '.bib'
                 else:
                     file = os.path.join(curdir, bibfiles[j] + '.bib')
                 if os.path.exists(file):
index 01ab2b9a8bcfe87945f2ef87a5e4724f61251152..12ad5b2a25cd59dda01c42d848d5c26745fdf550 100644 (file)
@@ -158,6 +158,8 @@ What's new
 - Removed unnecessary dependency on the package europs.sty from the
   g-brief layout files.
 
+- Do not skip bibtex files specified by their full path when creating
+  a LyX archive (bug 8379).
 
 * USER INTERFACE