Skip to content
Snippets Groups Projects
Commit 7fb1620c authored by Shaun Jackman's avatar Shaun Jackman
Browse files

Enable check_repository_references conditionally


Enable check_repository_references when HOMEBREW_PREFIX == HOMEBREW_REPOSITORY.

Co-authored-by: default avatarMike McQuaid <mike@mikemcquaid.com>
parent 7b408dff
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,7 @@ module FormulaCellarChecks
end
def check_repository_references(prefix)
return if HOMEBREW_PREFIX != HOMEBREW_REPOSITORY
return unless prefix.directory?
keg = Keg.new(prefix)
......
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