Fixes broken SubversionDownloadStrategy

Being able to commit parts of diffs can bite you if you aren't careful.
This commit is contained in:
Max Howell committed 2009-12-04 18:16:32 +00:00
1 parent 928317d80f
commit cbd7ff972c
2 files changed
+15 -2

No files matched your search

+10 -2
View File
@@ -11,8 +11,16 @@ class Mplayer <Formula
def install
ENV.gcc_4_2 # llvm chokes on labels within mlp inline asm
system "./configure --prefix='#{prefix}'"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end
end
if MACOS_VERSION < 10.6
class SubversionDownloadStrategy
def svn
Formula.factory('subversion').bin+'svn'
end
end
end
+5
View File
@@ -126,6 +126,11 @@ class SubversionDownloadStrategy <AbstractDownloadStrategy
args << '-q' unless ARGV.verbose?
safe_system *args
end
# currently only used by mplayer.rb
def svn
'/usr/bin/svn'
end
end
class GitDownloadStrategy <AbstractDownloadStrategy