projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0b344a9
)
odt: Fix writing files with names different from pspp.odt.
author
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jan 2010 04:48:26 +0000
(20:48 -0800)
committer
Ben Pfaff
<blp@gnu.org>
Sat, 6 Feb 2010 04:14:19 +0000
(20:14 -0800)
src/output/odt.c
patch
|
blob
|
history
diff --git
a/src/output/odt.c
b/src/output/odt.c
index 41ef108b776062256a62beba949ea50b247112b1..8883875297498cd45e0a870bf1ef46c5003f7126 100644
(file)
--- a/
src/output/odt.c
+++ b/
src/output/odt.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* 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
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,
/* 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);
system (ds_cstr (&zip_cmd));
ds_destroy (&zip_cmd);