Skip to content

Commit

Permalink
Merge pull request #33 from slonopotamus/windows-unzip-fix
Browse files Browse the repository at this point in the history
Fix unzipping of kindlegen archive on Windows
  • Loading branch information
tdtds committed Dec 24, 2019
2 parents 38b5e05 + f06e8a1 commit 73109ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/Rakefile
Expand Up @@ -49,7 +49,7 @@ def unzip(tarball)
Zip::File.open(tarball).each do |entry|
dir = File.dirname(entry.name)
FileUtils.mkpath(dir) if dir != '.' && !File.exist?(dir)
entry.extract unless File.exist?(entry.name)
entry.extract(dest_path=entry.name) unless File.exist?(entry.name)
end
end

Expand Down

0 comments on commit 73109ae

Please sign in to comment.