From: Enrico Forestieri Date: Sat, 20 Oct 2012 16:27:35 +0000 (+0200) Subject: Fix bug #8379: LyX Archive fails to include BibTeX files X-Git-Tag: 2.0.5~21 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d781daa4012f84f59a2603b7c2e72b71c5d3bbeb;p=features.git Fix bug #8379: LyX Archive fails to include BibTeX files (cherry picked from commit f6fde4b55326c7fe3821c05d64fb00d2c36c4ef4) --- diff --git a/lib/scripts/lyxpak.py b/lib/scripts/lyxpak.py index d34197799e..4d10cb6417 100755 --- a/lib/scripts/lyxpak.py +++ b/lib/scripts/lyxpak.py @@ -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): diff --git a/status.20x b/status.20x index 01ab2b9a8b..12ad5b2a25 100644 --- a/status.20x +++ b/status.20x @@ -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