From 1880933a87d2f9694106162dc0068beb58d81d31 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 16 Apr 2011 16:22:58 +0000 Subject: [PATCH] Fix correct operation of lyxpak.py when using the '-t' or '-z' switches. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38416 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/scripts/lyxpak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/lyxpak.py b/lib/scripts/lyxpak.py index 42810947aa..17ade0dab4 100755 --- a/lib/scripts/lyxpak.py +++ b/lib/scripts/lyxpak.py @@ -292,7 +292,7 @@ def main(args): # Create the archive try: - if os.name == 'nt': + if makezip: zip = zipfile.ZipFile(ar_name, "w", zipfile.ZIP_DEFLATED) for file in incfiles: zip.write(file) -- 2.39.2