Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor changes to properly handle metaconfig

  • Loading branch information...
commit 35f77c1b77eab4663334abf83df95fa35b895fd2 1 parent fcadb74
rmagick authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 setup.rb
View
6 setup.rb
@@ -296,8 +296,8 @@ def fixup
ALIASES.each do |ali, name|
@table[ali] = @table[name]
end
- #@items.freeze
- #@table.freeze
+ @items.freeze
+ @table.freeze
@options_re = /\A--(#{@table.keys.join('|')})(?:=(.*))?\z/
end
@@ -768,7 +768,6 @@ def ToplevelInstaller.invoke
config = ConfigTable.new(load_rbconfig())
config.load_standard_entries
config.load_multipackage_entries if multipackage?
- config.fixup
klass = (multipackage?() ? ToplevelInstallerMulti : ToplevelInstaller)
klass.new(File.dirname($0), config).invoke
end
@@ -805,6 +804,7 @@ def inspect
def invoke
run_metaconfigs
+ @config.fixup
case task = parsearg_global()
when nil, 'all'
parsearg_config
Please sign in to comment.
Something went wrong with that request. Please try again.