sprinkle-tool / sprinkle

Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to install a Rails, or Sinatra stack on a brand new slice directly after its been created
https://github.com/sprinkle-tool/sprinkle
MIT License
1.15k stars 138 forks source link

Using md5sum instead of md5 and updating cut's delimiter #53

Closed frappuccino closed 12 years ago

ebeigarts commented 12 years ago

This would brake OS X (it has only md5 command).

I think Digest::MD5 could be a better solution:

- local = `md5 #{localfile}`.split.last
+ require 'digest/md5'
+ Digest::MD5.hexdigest(File.read(localfile))

@crafterm should I create a new pull request?

crafterm commented 12 years ago

Thanks heaps guys!