Skip to content
Snippets Groups Projects
Commit 041f8a6e authored by Lamont Granquist's avatar Lamont Granquist
Browse files

change to dan fix

parent b7767d73
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -812,8 +812,8 @@ module Omnibus
# gem compiles will fail because the magic fixup it does to add the
# mingw compiler stuff won't work. If ENV['Path'] is not defined on
# Windows systems we'll fall back to using a path key of `PATH`.
if (Ohai['platform'] == 'windows') && ENV.key?('Path')
'Path'
if (Ohai['platform'] == 'windows')
ENV.keys.grep(/\Apath\Z/i).first
else
'PATH'
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment