Navigation Menu

Skip to content

Commit

Permalink
Use build.used_options instead of ARGV.options_only
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0920 committed Jun 29, 2015
1 parent 7b37573 commit 16f95ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mroonga.rb
Expand Up @@ -161,8 +161,8 @@ def uninstall_sql_path
end

def option_value(search_key)
ARGV.options_only.each do |option|
key, value = option.split(/=/, 2)
build.used_options.each do |option|
key, value = option.to_s.split(/=/, 2)
return value || true if key == search_key
end
nil
Expand Down

0 comments on commit 16f95ac

Please sign in to comment.