aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-04 17:36:41 -0800
committerAdam Vandenberg2012-03-05 21:14:39 -0800
commitfca0a6664954da0051fd3857378569f760fc2e8e (patch)
tree2ad7f2454fb9049acc8ce59032894e8eab394707 /Library/Homebrew
parentee5193e3e855d4473258c17ccc49ab1fd37d357b (diff)
downloadbrew-fca0a6664954da0051fd3857378569f760fc2e8e.tar.bz2
shrink
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 151aeb2b6..11ea30986 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -678,11 +678,8 @@ private
def devel &block
raise "url and md5 must be specified in a block" unless block_given?
-
if ARGV.build_devel?
- # clear out mirrors from the stable release
- @mirrors = nil
-
+ @mirrors = nil # clear out mirrors from the stable release
instance_eval &block
end
end