lyxpak.py has to operate on the original file, not the one in the tmpdir.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37517 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-02-06 19:09:54 +00:00
parent bf6c45dd09
commit 83f181c02f

View File

@ -875,7 +875,7 @@ def checkConverterEntries():
# so, we mimic this search, and configure the appropriate version.
path, prog = checkProg('the LyX packing script', ['tar', 'zip'])
if prog:
cmd = r'\converter lyx %s "python -tt $$s/scripts/lyxpak.py $$i" ""'
cmd = r'\converter lyx %s "python -tt $$s/scripts/lyxpak.py $$r/$$i" ""'
if prog == "zip":
addToRC(r'\Format lyxzip zip "LyX Archive (zip)" "" "" "" "document"')
addToRC(cmd % "lyxzip")