aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrent Fitzgerald2010-08-08 05:00:47 -0700
committerAdam Vandenberg2010-08-08 18:26:13 -0700
commit3d89258d5d78db4c1cb89684d524c11b801491df (patch)
treeeaca1b16f6390d2550f801f0a1b9f8af1dccf8bb /Library
parenta262e27f582ee72490efdcfaf00272f737bc7da7 (diff)
downloadhomebrew-3d89258d5d78db4c1cb89684d524c11b801491df.tar.bz2
Changing the magic &:downcase back to regular block.
Fixes #2089 Signed-off-by: Adam Vandenberg <flangy@gmail.com> (This is needed for 10.5 support.)
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 61268fda3..228c3c033 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -114,6 +114,6 @@ module HomebrewArgvExtension
private
def downcased_unique_named
- @downcased_unique_named ||= named.map(&:downcase).uniq
+ @downcased_unique_named ||= named.map{|arg| arg.downcase}.uniq
end
end