Skip to content

Commit

Permalink
Merge pull request #18767 from Homebrew/opencore-case
Browse files Browse the repository at this point in the history
os/mac/diagnostic: fix case of OpenCore check
  • Loading branch information
EricFromCanada authored Nov 13, 2024
2 parents a3c2815 + e52943d commit 2fb6bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/diagnostic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def check_for_opencore
opencore_version = Utils.safe_popen_read("/usr/sbin/nvram",
"4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version").split[1]
oclp_version = Utils.safe_popen_read("/usr/sbin/nvram",
"4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oclp-version").split[1]
"4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:OCLP-Version").split[1]
return if opencore_version.blank? || oclp_version.blank?
rescue ErrorDuringExecution
return
Expand Down

0 comments on commit 2fb6bf0

Please sign in to comment.