aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorBrent Fitzgerald2010-08-08 05:19:25 -0700
committerAdam Vandenberg2010-08-08 08:25:35 -0700
commiteca31da253471f2f8fc2893e35281aa0c7a357ed (patch)
treefc8525bcb24f04526b90ccda7d9a5f1a2c3a221e /Library/Homebrew
parent353d9561e786599540973f5cbe6933a1fd998d1e (diff)
downloadbrew-eca31da253471f2f8fc2893e35281aa0c7a357ed.tar.bz2
Getting rid of pesky 'warning: parenthesize argument(s) for future version'
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew')
-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 9efd32550..f860a6c0e 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