summaryrefslogtreecommitdiff
path: root/omnibus
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2017-01-23 14:49:54 -0600
committerTom Duffield <tom@chef.io>2017-01-23 14:49:54 -0600
commit4f04c83fd2a4a3aae1eb146a6300b9aed6b11ed9 (patch)
tree10b3e9a39ee0ac580f3178fed92ae2eef82dd0bb /omnibus
parent424a783adf3bc27a10553b8655b7bf82fce053bc (diff)
downloadchef-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.rb2
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