Skip to content

Commit

Permalink
test this code
Browse files Browse the repository at this point in the history
Signed-off-by: muthuja <[email protected]>
  • Loading branch information
muthuja committed Mar 25, 2024
1 parent 44eabce commit 46fb0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omnibus_overrides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
override "nokogiri", version: "1.13.6"

require 'rbconfig'
def windows_2012_or_2012r2?
def windows_2012r2?
os = RbConfig::CONFIG['target_os']
os.downcase.include?('windows') && (os.downcase.include?('2012') || os.downcase.include?('2012r2'))
end
def determine_openssl_version
if windows_2012_or_2012r2?
if windows_2012r2?
"1.0.2zi"
else
"3.0.9"
Expand Down

0 comments on commit 46fb0df

Please sign in to comment.