aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index bae651bd3..576be6889 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -769,7 +769,13 @@ EOF
def devel &block
raise "url and md5 must be specified in a block" unless block_given?
- instance_eval &block if ARGV.build_devel?
+
+ if ARGV.build_devel?
+ # clear out mirrors from the stable release
+ @mirrors = nil
+
+ instance_eval &block
+ end
end
def bottle url=nil, &block