Skip to content

Commit

Permalink
Merge pull request #176 from basho-labs/hotfix-amazon
Browse files Browse the repository at this point in the history
Fix conditional check to evaluate  as a float, not a string (fixes #175)
  • Loading branch information
Seth Thomas committed Jun 20, 2015
2 parents d48430d + 455532f commit e61f2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
node.default['erlang']['source']['checksum'] = '5c36ed749f0f56d003d28ab352fa7cb405f11dbbfb885370edb69d3c1bd321fb'
node.default['erlang']['source']['build_flags'] = '--disable-hipe --enable-smp-support --without-odbc --enable-m64-build'

if node['platform_family'] == 'rhel' && node['platform_version'] >= '6.5'
if node['platform_family'] == 'rhel' && node['platform_version'].to_f >= 6.5
node.default['erlang']['source']['cflags'] = '-DOPENSSL_NO_EC=1'
end

Expand Down

0 comments on commit e61f2e4

Please sign in to comment.