aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChris Hoffman2010-08-10 07:15:33 -0500
committerAdam Vandenberg2010-08-10 07:36:38 -0700
commit739dcdb363d11fe765f819da06b5ee4bf8e34f85 (patch)
tree1cb0de1856ee895fe769ced793ab892669707e11 /Library
parent23ae686a9ae85569f21a7fbc6e8710dfc00781e5 (diff)
downloadhomebrew-739dcdb363d11fe765f819da06b5ee4bf8e34f85.tar.bz2
Use renamed ARGV#options_only in aspell formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/aspell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/aspell.rb b/Library/Formula/aspell.rb
index 488eeb565..f5db5ec8e 100644
--- a/Library/Formula/aspell.rb
+++ b/Library/Formula/aspell.rb
@@ -361,7 +361,7 @@ class Aspell <Formula
system "./configure", "--prefix=#{prefix}"
system "make install"
- ARGV.options.select { |v| v =~ /--lang=/ }.uniq.each do |opt|
+ ARGV.options_only.select { |v| v =~ /--lang=/ }.uniq.each do |opt|
languages = opt.split('=')[1].split(',')
languages.each do |lang|
formula = Object.const_get("Aspell" + lang.capitalize).new