Don't abort if /usr/local is not writable
Since this is our new policy for /usr/local.
This commit is contained in:
parent
e354b70db3
commit
1cfad8f502
@ -23,7 +23,7 @@ module Homebrew extend self
|
||||
|
||||
def check_writable_install_location
|
||||
raise "Cannot write to #{HOMEBREW_CELLAR}" if HOMEBREW_CELLAR.exist? and not HOMEBREW_CELLAR.writable?
|
||||
raise "Cannot write to #{HOMEBREW_PREFIX}" unless HOMEBREW_PREFIX.writable?
|
||||
raise "Cannot write to #{HOMEBREW_PREFIX}" unless HOMEBREW_PREFIX.writable? or HOMEBREW_PREFIX.to_s == '/usr/local'
|
||||
end
|
||||
|
||||
def check_cc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user