Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
david22swan committed Apr 3, 2023
1 parent 19ae357 commit 5c42ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facter/java_default_home.rb
Expand Up @@ -21,7 +21,7 @@
nil
else
java_path = File.realpath(java_bin)
java_default_home = if java_path.include?('jre')
java_default_home = if java_path.match?('/jre/')
File.dirname(File.dirname(File.dirname(java_path)))
else
File.dirname(File.dirname(java_path))
Expand Down

0 comments on commit 5c42ad7

Please sign in to comment.