fix actual zipping of epub #13

Merged
merged 1 commit into from Jul 29, 2011

Projects

None yet

3 participants

@schacon
Contributor
schacon commented Jul 23, 2011

The zip archiving was not being called correctly, causing the actual epub file to have a flattened manifest like this:

$  find .
.
./container.xml
./content.opf
./doc.html
./images
./image.jpg
./META-INF
./mimetype
./toc.ncx

as opposed to what it should be, like this:

$  find .
.
./content.opf
./doc.html
./images/image.jpg
./META-INF/container.xml
./mimetype
./toc.ncx

This patch fixes the lib so that it is using the Zip::Archive API properly.

@ddonahue99

I was going crazy trying to figure out why this was happening. Hoping this gets merged in.

@jugyo jugyo merged commit cfd00bb into jugyo:master Jul 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment