From e0639f1588752d66e3d0ecb991274f23247b783f Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 13 Mar 2011 12:52:41 +0000 Subject: Replace create --cache with create --no-fetch Because since 0.8 we do the opposite, ie. download by default.--- Library/Homebrew/cmd/create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3