diff options
author | adamedx <adamed@opscode.com> | 2013-07-10 14:15:58 -0700 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-07-11 06:50:27 -0700 |
commit | 466cdfde0fe9d54edcacf37737b982c672fd8357 (patch) | |
tree | d8a8054cf0f2dcd2a5ed32ba1efaa611530ee6b0 /bin | |
parent | 69b214405bfd475c100551b396a9ccf2d1839669 (diff) | |
download | chef-466cdfde0fe9d54edcacf37737b982c672fd8357.tar.gz |
Use Chef for reliable platform detection
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chef-shell | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chef-shell b/bin/chef-shell index d6ebfc9fe2..f334635742 100755 --- a/bin/chef-shell +++ b/bin/chef-shell @@ -33,5 +33,5 @@ require "chef/shell" # On Windows only, enable irb --noreadline because of input problems -- # See CHEF-3284. -IRB.conf[:USE_READLINE] = false if RUBY_PLATFORM =~ /mswin|mingw|windows/ +IRB.conf[:USE_READLINE] = false if Chef::Platform::windows? Shell.start |