Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
[#26] updated sign_update script
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Oct 1, 2013
1 parent baac80a commit 2951e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sign_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
puts "Usage: ruby sign_update.rb update_archive private_key"
exit
end

puts `openssl dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`
openssl = "/usr/bin/openssl"
puts `#{openssl} dgst -sha1 -binary < "#{ARGV[0]}" | #{openssl} dgst -dss1 -sign "#{ARGV[1]}" | #{openssl} enc -base64`

0 comments on commit 2951e95

Please sign in to comment.