Permalink
Browse files

Add in linux amd64 binary

  • Loading branch information...
1 parent acef1d9 commit 859e931942f991259dd349e49106c3f54dd009ac @bradphelan bradphelan committed Sep 26, 2011
Showing with 0 additions and 15 deletions.
  1. +0 −15 bin/wkhtmltopdf
  2. BIN bin/wkhtmltopdf-darwin
  3. BIN bin/wkhtmltopdf-linux-amd64
View
@@ -1,15 +0,0 @@
-#!/usr/bin/ruby
-
-
-if RUBY_PLATFORM =~ /x86_64-linux/
- executable = 'wkhtmltopdf-linux-amd64'
-elsif RUBY_PLATFORM =~ /darwin/
- raise "Invalid platform. Must be running linux amd x64"
-end
-
-arguments = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
-
-executable = File.join(File.dirname(__FILE__), executable)
-r = system(executable + " " + arguments.join(" "))
-
-exit r ? 0 : 1
View
Binary file not shown.
View
Binary file not shown.

0 comments on commit 859e931

Please sign in to comment.