X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fodt.c;h=8883875297498cd45e0a870bf1ef46c5003f7126;hb=5269c22bd135c65d5c8c9028c2ca2ae17cc6a192;hp=41ef108b776062256a62beba949ea50b247112b1;hpb=0b344a9c8cf1300fabdaba1c2e59bfd4dd670db2;p=pspp-builds.git diff --git a/src/output/odt.c b/src/output/odt.c index 41ef108b..88838752 100644 --- a/src/output/odt.c +++ b/src/output/odt.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -367,8 +367,8 @@ odt_destroy (struct output_driver *driver) /* Zip up the directory */ ds_init_empty (&zip_cmd); ds_put_format (&zip_cmd, - "cd %s ; rm -f ../%s; zip -q -X ../%s mimetype; zip -q -X -u -r ../pspp.odt .", - odt->dirname, odt->file_name, odt->file_name); + "cd %s ; rm -f ../%s; zip -q -X ../%s mimetype; zip -q -X -u -r ../%s .", + odt->dirname, odt->file_name, odt->file_name, odt->file_name); system (ds_cstr (&zip_cmd)); ds_destroy (&zip_cmd);