aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-03-13 12:52:41 +0000
committerMax Howell2011-03-13 12:52:41 +0000
commite0639f1588752d66e3d0ecb991274f23247b783f (patch)
tree529f8b08dfabae43b008e8eb95908afd557b46b5 /Library
parentb7f093925e7a751914f131aaecd8c080d3441c16 (diff)
downloadbrew-e0639f1588752d66e3d0ecb991274f23247b783f.tar.bz2
Replace create --cache with create --no-fetch
Because since 0.8 we do the opposite, ie. download by default.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index 74ba98e1f..39f8acb92 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -85,7 +85,7 @@ class FormulaCreator
puts "Version detected as #{version}."
end
- unless ARGV.include? "--no-md5" and version
+ unless ARGV.include? "--no-fetch" and version
strategy = detect_download_strategy url
@md5 = strategy.new(url, name, version, nil).fetch.md5 if strategy == CurlDownloadStrategy
end