From eca31da253471f2f8fc2893e35281aa0c7a357ed Mon Sep 17 00:00:00 2001 From: Brent Fitzgerald Date: Sun, 8 Aug 2010 05:19:25 -0700 Subject: [PATCH] Getting rid of pesky 'warning: parenthesize argument(s) for future version' Signed-off-by: Adam Vandenberg --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9efd325505..f860a6c0eb 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -39,7 +39,7 @@ class SoftwareSpecification # Returns a suitable DownloadStrategy class that can be # used to retreive this software package. def download_strategy - return detect_download_strategy @url if @using.nil? + return detect_download_strategy(@url) if @using.nil? # If a class is passed, assume it is a download strategy return @using if @using.kind_of? Class