Permalink
Browse files

Minor changes to properly handle metaconfig

  • Loading branch information...
1 parent fcadb74 commit 35f77c1b77eab4663334abf83df95fa35b895fd2 rmagick committed Apr 26, 2006
Showing with 3 additions and 3 deletions.
  1. +3 −3 setup.rb
View
@@ -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

0 comments on commit 35f77c1

Please sign in to comment.