mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 21:49:49 -05:00
Fixes broken SubversionDownloadStrategy
Being able to commit parts of diffs can bite you if you aren't careful.
This commit is contained in:
1 parent
928317d80f
commit
cbd7ff972c
2 files changed
+15
-2
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user