aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-04 17:36:41 -0800
committerAdam Vandenberg2012-03-05 21:14:39 -0800
commit692d1c8e76aafaccb7bb535859f75d43c6036b83 (patch)
treed4b0ac1810c31d3b3cc497339fac8a9e0eb48600 /Library
parentca0d798b4d2d909882e621d7f97f3400e2a481fc (diff)
downloadhomebrew-692d1c8e76aafaccb7bb535859f75d43c6036b83.tar.bz2
shrink
Diffstat (limited to 'Library')
-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