From 1cfad8f50240efa133aaf1f979ade3de551bc3d5 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 29 Jul 2011 16:57:22 +0100 Subject: [PATCH] Don't abort if /usr/local is not writable Since this is our new policy for /usr/local. --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 00f978d024..e31b1b35ed 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -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