diff options
author | Tom Duffield <tom@chef.io> | 2017-01-23 14:49:54 -0600 |
---|---|---|
committer | Tom Duffield <tom@chef.io> | 2017-01-23 14:49:54 -0600 |
commit | 4f04c83fd2a4a3aae1eb146a6300b9aed6b11ed9 (patch) | |
tree | 10b3e9a39ee0ac580f3178fed92ae2eef82dd0bb /omnibus | |
parent | 424a783adf3bc27a10553b8655b7bf82fce053bc (diff) | |
download | chef-4f04c83fd2a4a3aae1eb146a6300b9aed6b11ed9.tar.gz |
Ruby 2.3 doesn't have casecmp?. Use casecmp instead
Signed-off-by: Tom Duffield <tom@chef.io>
Diffstat (limited to 'omnibus')
-rw-r--r-- | omnibus/omnibus.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omnibus/omnibus.rb b/omnibus/omnibus.rb index 5bf50f98f9..dfbd2bc338 100644 --- a/omnibus/omnibus.rb +++ b/omnibus/omnibus.rb @@ -52,4 +52,4 @@ fetcher_read_timeout 120 # local_software_dirs ['/path/to/local/software'] fatal_transitive_dependency_licensing_warnings true -fips_mode (ENV["OMNIBUS_FIPS_MODE"] || "").casecmp?("true") +fips_mode (ENV["OMNIBUS_FIPS_MODE"] || "").casecmp("true") >= 0 |