aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 9b5e7254f..4d67adfd6 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -134,7 +134,7 @@ class Formula
# reimplement if we don't autodetect the download strategy you require
def download_strategy
- if @specs
+ if @specs and @url == @head
vcs = @specs.delete :using
if vcs != nil
# If a class is passed, assume it is a download strategy