diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 479dc8fae0..d589273eee 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -274,7 +274,7 @@ class SubversionDownloadStrategy < AbstractDownloadStrategy def svn return ENV['HOMEBREW_SVN'] if ENV['HOMEBREW_SVN'] return "#{HOMEBREW_PREFIX}/bin/svn" if File.exist? "#{HOMEBREW_PREFIX}/bin/svn" - return '/usr/bin/svn' + return MacOS.locate 'svn' end end