Skip to content

Commit

Permalink
Merge pull request #2 from monterail/master
Browse files Browse the repository at this point in the history
Updated package urls for kindlegen v2
  • Loading branch information
tdtds committed Jan 14, 2012
2 parents fd1d595 + 2d93267 commit 1ceccd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ext/kindlegen/extconf.rb
Expand Up @@ -3,11 +3,10 @@
#

require 'rbconfig'

File::open('Makefile', 'w') do |w|
tarball = case RbConfig::CONFIG['host_os']
when /mac|darwin/i then "KindleGen_Mac_i386_v1.2.zip"
when /linux|cygwin/i then "kindlegen_linux_2.6_i386_v1.2.tar.gz"
when /mac|darwin/i then "KindleGen_Mac_i386_v2.zip"
when /linux|cygwin/i then "kindlegen_linux_2.6_i386_v2.tar.gz"
else
STDERR.puts "Host OS unsupported!"
exit(1)
Expand Down

0 comments on commit 1ceccd2

Please sign in to comment.